/hphp/test/zend/good/ext/standard/tests/serialize/bug62836_1.php
PHP | 10 lines | 8 code | 2 blank | 0 comment | 0 complexity | 6a8df04cd691132009694c2125757fcc 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
- <?hh
- class A {}
- class B {}
- <<__EntryPoint>> function main(): void {
- $serialized = 'O:1:"A":4:{s:1:"b";O:1:"B":0:{}s:2:"b1";r:2;s:1:"c";O:1:"B":0:{}s:2:"c1";r:4;}';
- print_r(unserialize($serialized));
- echo "okey";
- }