We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Get entry contents. // $entryName = 'path/to/example-entry-name.txt'; $contents = $zipFile[$entryName]; Checks whether a entry exists. // $entryName = 'path/to/example-entry-name.txt'; $hasEntry = isset($zipFile[$entryName]);
Get entry contents.
// $entryName = 'path/to/example-entry-name.txt';
$contents = $zipFile[$entryName]; Checks whether a entry exists.
$hasEntry = isset($zipFile[$entryName]);
if the file exists, but it is empty (0 bytes), then an error is displayed ErrorException (E_WARNING) fread (): Length parameter must be greater than 0
I think this is not correct, since the file can be empty in the archive
if the file exists, but it is empty (0 bytes), then an error is displayed
ErrorException (E_WARNING)
fread (): Length parameter must be greater than 0
I think this is not correct, since the file can be empty in the archive