From: remi
Operating system: GNU/LInux (32 bits)
PHP version: 5.5.13
Package: *General Issues
Bug Type: Bug
Bug description:clone and serialize issue
Description:
------------
On 32bits build, ext/standard/tests/serialize/bug64146.phpt fails.
Test script:
---------------
bug64146.phpt with a dump of the serialized string.
Expected result:
----------------
On 64 bits we have (test OK)
string(108)
"O:1:"A":1:{s:1:"a";a:2:{i:0;C:1:"B":24:{O:1:"C":1:{s:1:"c";i:1;}}i:1;C:1:"B":24:{O:1:"C":1:{s:1:"c";i:2;}}}}"
Actual result:
--------------
On 32 bits we have (failed test)
string(87)
"O:1:"A":1:{s:1:"a";a:2:{i:0;C:1:"B":24:{O:1:"C":1:{s:1:"c";i:1;}}i:1;C:1:"B":4:{r:4;}}}"
--
Edit bug report at https://bugs.php.net/bug.php?id=67452&edit=1
--