|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patchesigbinary_024.patch (last revision 2011-11-14 17:49 UTC by fedora at famillecollet dot com)Pull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-11-14 18:35 UTC] fedora at famillecollet dot com
[2011-12-25 17:28 UTC] pajoye@php.net
[2011-12-26 17:02 UTC] fedora at famillecollet dot com
[2011-12-26 22:50 UTC] pajoye@php.net
[2011-12-26 22:50 UTC] pajoye@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: pajoye
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 04:00:01 2025 UTC |
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