Skip to content

Add addFromStream #18

@Gemorroj

Description

@Gemorroj

It would be useful to be able to add files from a stream.
example:

$f = fopen('https://github.com', 'r');

$zip = new ZipArchive();
$res = $zip->open('test.zip', ZipArchive::CREATE);
$zip->addFromStream('gihtub.html', $f);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions