Bug #67362 [Opn]: ZipArchive doesn't display error when zip file could not be created
Edit report at https://bugs.php.net/bug.php?id=67362&edit=1
ID: 67362
User updated by: patrickhonegger at gmail dot com
Reported by: patrickhonegger at gmail dot com
Summary: ZipArchive doesn't display error when zip file could
not be created
Status: Open
Type: Bug
Package: Zip Related
Operating System: Windows NT WL23 5.2 build 3790
-PHP Version: Irrelevant
+PHP Version: 5.4.4
Block user comment: N
Private report: N
New Comment:
(PHP Version changed)
Previous Comments:
------------------------------------------------------------------------
[2014-05-30 07:43:54] patrickhonegger at gmail dot com
Description:
------------
I had an error in a script which caused the script trying to a directory with ZipArchive::addFile.
addFile returned 'true', but after ZipArchive::close, no zip file was created.
Even if I set the error_reporting to E_ALL, no error was displayed.
Expected result:
----------------
addFile should create an error message, or at least close when the zip file could not be created.
Actual result:
--------------
No error is displayed, but the zip file is not created.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=67362&edit=1
Thread (4 messages)