From:
Operating system: GNU/Linux (Fedora 15)
PHP version: 5.4.0RC1
Package: igbinary
Bug Type: Bug
Bug description:PHP 5.4.0RC1 - Tests failed : 2
Description:
------------
Tried with 1.1.1 and latest git snapshot.
Test script:
---------------
make test
Expected result:
----------------
Test failed : 0
Actual result:
--------------
=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped : 0
Exts tested : 30
---------------------------------------------------------------------
Number of tests : 44 41
Tests skipped : 3 ( 6.8%) --------
Tests warned : 0 ( 0.0%) ( 0.0%)
Tests failed : 2 ( 4.5%) ( 4.9%)
Expected fail : 0 ( 0.0%) ( 0.0%)
Tests passed : 39 ( 88.6%) ( 95.1%)
---------------------------------------------------------------------
Time taken : 1 seconds
=====================================================================
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Recursive objects [tests/igbinary_024.phpt]
Unserialize backwards compatible with v1.
[tests/igbinary_unserialize_v1_compatible.phpt]
=====================================================================
$ cat tests/igbinary_024.diff
001+
001- objectrec
002-
17044f626a32140711026161001105002a006262001108004f626a32006363001109004f626a32006f626a17034f626a140311016106011104002a006206021106004f626a006306030e06060111016206021101630603
003- OK
004- objectrecarr
005-
17044f626a331401110a004f626a33006f626a731404060017034f626a140311016106001104002a006206001106004f626a0063060406011a0214030e0306000e0406010e05060406021a0214030e0306000e0406020e05060406031a0214030e0306000e0406030e050604
006- OK
007- objectselfrec
008- 17044f626a3414021107004f626a34006106641109004f626a34006f626a2200
009- OK
$ cat tests/igbinary_unserialize_v1_compatible.diff
001+ Differing unserialized: object
002+ Expected:
001- reference deserialization works, but the result is not a reference.
002- OK
003+ object(stdClass)#0 (4) {
004+ ["0"]=>
005+ int(1)
006+ ["1"]=>
007+ int(2)
008+ ["2"]=>
009+ int(3)
010+ ["3"]=>
011+ int(4)
012+ }
013+
014+ Actual:
015+ object(stdClass)#0 (4) {
016+ [0]=>
017+ int(1)
018+ [1]=>
019+ int(2)
020+ [2]=>
021+ int(3)
022+ [3]=>
023+ int(4)
024+ }
025+
026+ reference deserialization works, but the result is not a reference.
027+ OK
--
Edit bug report at https://bugs.php.net/bug.php?id=60298&edit=1
--
Try a snapshot (PHP 5.4):
https://bugs.php.net/fix.php?id=60298&r=trysnapshot54
Try a snapshot (PHP 5.3):
https://bugs.php.net/fix.php?id=60298&r=trysnapshot53
Try a snapshot (trunk):
https://bugs.php.net/fix.php?id=60298&r=trysnapshottrunk
Fixed in SVN:
https://bugs.php.net/fix.php?id=60298&r=fixed
Fixed in SVN and need be documented:
https://bugs.php.net/fix.php?id=60298&r=needdocs
Fixed in release:
https://bugs.php.net/fix.php?id=60298&r=alreadyfixed
Need backtrace:
https://bugs.php.net/fix.php?id=60298&r=needtrace
Need Reproduce Script:
https://bugs.php.net/fix.php?id=60298&r=needscript
Try newer version:
https://bugs.php.net/fix.php?id=60298&r=oldversion
Not developer issue:
https://bugs.php.net/fix.php?id=60298&r=support
Expected behavior:
https://bugs.php.net/fix.php?id=60298&r=notwrong
Not enough info:
https://bugs.php.net/fix.php?id=60298&r=notenoughinfo
Submitted twice:
https://bugs.php.net/fix.php?id=60298&r=submittedtwice
register_globals:
https://bugs.php.net/fix.php?id=60298&r=globals
PHP 4 support discontinued:
https://bugs.php.net/fix.php?id=60298&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=60298&r=dst
IIS Stability:
https://bugs.php.net/fix.php?id=60298&r=isapi
Install GNU Sed:
https://bugs.php.net/fix.php?id=60298&r=gnused
Floating point limitations:
https://bugs.php.net/fix.php?id=60298&r=float
No Zend Extensions:
https://bugs.php.net/fix.php?id=60298&r=nozend
MySQL Configuration Error:
https://bugs.php.net/fix.php?id=60298&r=mysqlcfg