PHP » GoLang |
login |
register |
about
|
GoLang ZipArchive::getStream
request it (256)
GoLang replacement for PHP's ZipArchive::getStream
[edit | history]
ZipArchive::getStream(PHP 5 >= 5.2.0, PHP 7, PECL zip >= 1.1.0) ZipArchive::getStream — Get a file handler to the entry defined by its name (read only) Description
resource ZipArchive::getStream
( string
$name
)Get a file handler to the entry defined by its name. For now it only supports read operations. Parameters
Return Values
Returns a file pointer (resource) on success or ExamplesExample #1 Get the entry contents with fread() and store it
<?php Example #2 Same as the previous example but with fopen() and the zip stream wrapper
<?php Example #3 Stream wrapper and image, can be used with the xml function as well
<?php |
more
Recently updated
more
Most requested
more
Last requests
|