|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2013-10-23 14:43 UTC] remi@php.net
-Status: Open
+Status: Feedback
[2014-12-30 10:41 UTC] pecl-dev at lists dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 04:00:02 2025 UTC |
Description: ------------ Perhaps there's a way to do this via other PHP trickery, but I'd like to be able to create a small ZIP file in-memory, without any filesystem requirement. In potentially producing hundreds of these small zip files per second, I'd rather not thrash my drives. Reproduce code: --------------- ## Contrived Example $zip = new ZipArchive; $res = $zip->open(); if ($res === true) { $zip->addFromString('data', '<datastream>'); $zip->close(); echo $zip; }