ID: 39784
Comment by: judas dot iscariote at gmail dot com
Reported By: itsmegawtf at gmail dot com
Status: Open
Bug Type: Zip Related
Operating System: Gentoo linux
PHP Version: 5.2.0
New Comment:
You need to disable zend.ze1_compatibility_mode.
Pierre: can the engine disable it at runtime I guess right ?
Previous Comments:
------------------------------------------------------------------------
[2006-12-09 20:39:16] itsmegawtf at gmail dot com
Description:
------------
Can't make an instance of ZipArchive
Reproduce code:
---------------
<?php
$zip_handle = new ZipArchive();
if($zip_handle->open('sample.zip')) {
$zip_handle->extractTo('test');
$zip_handle->close();
}
?>
Expected result:
----------------
archive must be extracted
Actual result:
--------------
Fatal error: Trying to clone an uncloneable object of class ZipArchive
in Command line code on line 1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=39784&edit=1