php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #58856 Allow For Complete In-Memory Handling
Submitted: 2009-09-12 14:38 UTC Modified: 2014-12-30 10:41 UTC
From: jmy at morgontech dot com Assigned:
Status: No Feedback Package: zip (PECL)
PHP Version: 5.3.0RC4 OS: CentOS 5.3 / Kernel 2.6.18-128
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: jmy at morgontech dot com
New email:
PHP Version: OS:

 

 [2009-09-12 14:38 UTC] jmy at morgontech dot com
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;
}


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [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
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed Sep 29 01:03:36 2021 UTC