dams Mon Nov 22 10:50:08 2004 EDT
Modified files: /phpdoc/en/appendices wrappers.xml Log: file_set_contents -> file_put_contents http://cvs.php.net/diff.php/phpdoc/en/appendices/wrappers.xml?r1=1.45&r2=1.46&ty=u Index: phpdoc/en/appendices/wrappers.xml diff -u phpdoc/en/appendices/wrappers.xml:1.45 phpdoc/en/appendices/wrappers.xml:1.46 --- phpdoc/en/appendices/wrappers.xml:1.45 Thu Sep 9 06:21:00 2004 +++ phpdoc/en/appendices/wrappers.xml Mon Nov 22 10:50:06 2004 @@ -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 @@ /* 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>