PharData design problem

From: Date: Sun, 23 Mar 2008 07:00:58 +0000
Subject: PharData design problem
Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-5246@lists.php.net to get a copy of this message
Hi, While attempting to add a stub to a pre-existing .tgz, I ran into two problems, one of them quite major. First, if you attempt to open the phar using $a = new Phar('/path/to/blah.phar.tar.php'), a bug in spl causes a double exception, which results in zend_bailout. http://bugs.php.net/44511 The other problem is that it isn't possible to add a stub to a data-base .tgz. This should always be possible if phar.readonly=0, and only disabled if phar.readonly=1. As a heads up, I've fixed this. Greg

« previous php.pecl.dev (#5246) next »