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

From: Date: Sat, 04 Aug 2007 01:22:46 +0000
Subject: Re: Re: [Gallery-devel] [Fwd: PHP 5.2.4RC1 testing]
References: 1 2  Groups: php.qa 
Request: Send a blank email to php-qa+get-43287@lists.php.net to get a copy of this message
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?
I also noticed a few configure options went away... got this message using the same configure line I've used in past PHP versions.. (maybe they were already obsolete, but the new feature is reporting the unknown options?) Notice: Following unknown configure options were used: --enable-memory-limit --with-regexp=php --enable-track-vars --enable-trans-sid --enable-filepro --with-expat-dir=/usr --enable-yp --enable-dbx --with-tiff-dir=/usr/lib (also got one for --with-zip, but I changed to use --enable-zip)
Yes, this is a new feature provided by 5.2.4 Ilia Alshanetsky

« previous php.qa (#43287) next »