uawdijnntqw1x1x1
IP : 3.145.85.123
Hostname : host45.registrar-servers.com
Kernel : Linux host45.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
..
/
..
/
opt
/
alt
/
alt-nodejs9
/
..
/
tests
/
alt-php80-pecl-msgpack_2.2.0-1.el8
/
tests
/
bug012.phpt
/
/
--TEST-- Bug #12 (msgpack_serialize interfere with php serialize) --SKIPIF-- <?php if (!extension_loaded("msgpack")) { echo "skip"; } if (version_compare(PHP_VERSION, '5.4.0') < 0) { echo "skip tests before PHP 5.4"; } --FILE-- <?php class Demo extends ArrayObject { } $obj = new StdClass(); $demo = new Demo; $demo[] = $obj; $demo[] = $obj; $data = array( $demo, $obj, $obj, ); print_r(msgpack_unserialize(msgpack_serialize($data))); ?> --EXPECTF-- Array ( [0] => Demo Object ( [storage:ArrayObject:private] => Array ( [0] => stdClass Object ( ) [1] => stdClass Object ( ) ) ) [1] => stdClass Object ( ) [2] => stdClass Object ( ) )
/home/../../opt/alt/alt-nodejs9/../tests/alt-php80-pecl-msgpack_2.2.0-1.el8/tests/bug012.phpt