PHP » GoLang |
login |
register |
about
|
GoLang ZipArchive::statName
request it (652)
GoLang replacement for PHP's ZipArchive::statName
[edit | history]
ZipArchive::statName(PHP 5 >= 5.2.0, PHP 7, PECL zip >= 1.5.0) ZipArchive::statName — Get the details of an entry defined by its name Description
array ZipArchive::statName
( string
$name
[, int $flags
] )The function obtains information about the entry defined by its name. Parameters
Return Values
Returns an array containing the entry details or ExamplesExample #1 Dump the stat info of an entry
<?phpThe above example will output something similar to:
Array
(
[name] => foobar/baz
[index] => 3
[crc] => 499465816
[size] => 27
[mtime] => 1123164748
[comp_size] => 24
[comp_method] => 8
)
|
more
Most requested
more
Last requests
|