#39784 [Com]: Can't make an instance of ZipArchive

From: Date: Sat, 09 Dec 2006 23:39:32 +0000
Subject: #39784 [Com]: Can't make an instance of ZipArchive
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-106145@lists.php.net to get a copy of this message
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

« previous php.bugs (#106145) next »