file_set_contents -> file_put_contents

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@173230 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Damien Seguy 2004-11-22 15:50:06 +00:00
parent 5763832b3e
commit 0d65cc9d6c

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.45 $ -->
<!-- $Revision: 1.46 $ -->
<appendix id="wrappers">
<title>List of Supported Protocols/Wrappers</title>
<para>
@ -584,7 +584,7 @@ readfile("php://filter/read=string.toupper|string.rot13/resource=http://www.exam
/* This will filter the string "Hello World"
through the rot13 filter, then write to
example.txt in the current directory */
file_set_contents("php://filter/write=string.rot13/resource=example.txt","Hello World");
file_put_contents("php://filter/write=string.rot13/resource=example.txt","Hello World");
?>
]]>
</programlisting>