Although this function displaces files of the same name, in actual fact, the original file is blanked and a new entry is added. The numFiles property is incremented.
Example:
File 1: foo
File 2: bar
$zip->addFromString('foo', 'new foo');
File 1:
File 2: bar
File 3: foo
----
Server IP: 203.211.135.122
Probable Submitter: 137.132.250.9
----
Manual Page -- http://www.php.net/manual/en/function.ziparchive-addfromstring.php
Edit -- https://master.php.net/note/edit/97993
Del: integrated -- https://master.php.net/note/delete/97993/integrated
Del: useless -- https://master.php.net/note/delete/97993/useless
Del: bad code -- https://master.php.net/note/delete/97993/bad+code
Del: spam -- https://master.php.net/note/delete/97993/spam
Del: non-english -- https://master.php.net/note/delete/97993/non-english
Del: in docs -- https://master.php.net/note/delete/97993/in+docs
Del: other reasons-- https://master.php.net/note/delete/97993
Reject -- https://master.php.net/note/reject/97993
Search -- https://master.php.net/manage/user-notes.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.