mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
5763832b3e
commit
0d65cc9d6c
1 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue