diff --git a/reference/zip/ziparchive/addfromstring.xml b/reference/zip/ziparchive/addfromstring.xml index 651e3e3a3e..fc5830755a 100644 --- a/reference/zip/ziparchive/addfromstring.xml +++ b/reference/zip/ziparchive/addfromstring.xml @@ -11,6 +11,7 @@ boolZipArchive::addFromString stringlocalname stringcontents + intflags0 Add a file to a ZIP archive using its contents. @@ -38,6 +39,20 @@ + + flags + + + Bitmask consisting of + ZipArchive::FL_OVERWRITE, + ZipArchive::FL_ENC_GUESS, + ZipArchive::FL_ENC_UTF_8, + ZipArchive::FL_ENC_CP437. + The behaviour of these constants is described on the + ZIP constants page. + + + @@ -47,6 +62,31 @@ &return.success; + + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 8.0.0 / 1.18.0 + + flags was added. + + + + + + + + &reftitle.examples;