Re: Re: [Gallery-devel] [Fwd: PHP 5.2.4RC1 testing]

From: Date: Sat, 04 Aug 2007 01:46:33 +0000
Subject: Re: Re: [Gallery-devel] [Fwd: PHP 5.2.4RC1 testing]
References: 1 2 3  Groups: php.qa 
Request: Send a blank email to php-qa+get-43290@lists.php.net to get a copy of this message
Ilia Alshanetsky wrote:
On 3-Aug-07, at 2:33 PM, Alan Harder wrote:
Hello- I ran 2970 unit tests for Gallery 2 using PHP 5.2.4-RC1.. I got 2 failures, both with the same error message: *PHP ERROR:* unpack() [function.unpack <http://parity.menalto.com/%7Emindless/gallery2/lib/tools/phpunit/function.unpack>]: Invalid format type p I traced this to 3rd party code (http://getid3.sf.net) that calls unpack with this as the first parameter: 'a100fname/a8mode/a8uid/a8gid/a12size/a12mtime/a8chksum/a1typflag/a100lnkname/a6magic/a2ver/a32uname/a32gname/a8devmaj/a8devmin/a155/prefix' This may be a bug in that code (seems to work ok if I remove '/prefix' from the end), but thought I'd report it anyway.
The earlier PHP versions didn't generate these errors?
Correct, this is the first time I've seen this error. I've tested on many versions including 5.2.3, 5.1.5, 4.4.4 - Alan

« previous php.qa (#43290) next »