/hphp/test/zend/bad/ext/spl/tests/array_025.php
PHP | 9 lines | 8 code | 1 blank | 0 comment | 0 complexity | 5f2f1d358203892d4b4acddadc22d305 MD5 | raw file
Possible License(s): LGPL-2.1, BSD-2-Clause, BSD-3-Clause, MPL-2.0-no-copyleft-exception, MIT, LGPL-2.0, Apache-2.0
- <?php
- $obj1 = new ArrayObject(new ArrayObject(array(1,2)));
- $s = serialize($obj1);
- $obj2 = unserialize($s);
- print_r($obj1);
- echo "$s\n";
- print_r($obj2);
- ?>