3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $data='O:8:"stdClass":4:{'; $data.='s:3:"123";a:10:{i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;i:5;i:6;i:6;i:7;i:7;i:8;i:8;i:9;i:9;};'; $data.='s:3:"123";i:0;'; $data.='i:0;S:17:"\00\01\00\00AAAA\00\01\01\00\01\00\0B\BC\CC";'; $data.='i:1;r:12;}'; var_dump(serialize(unserialize($data))); ?>
based on voSRF
Output for 4.3.10 - 7.2.0
Notice: unserialize(): Unexpected end of serialized data in /in/X1m6g on line 9 Notice: unserialize(): Error at offset 106 of 187 bytes in /in/X1m6g on line 9 string(4) "b:0;"
Output for 4.3.2 - 4.3.9
Notice: Unexpected end of serialized data in /in/X1m6g on line 9 Notice: unserialize(): Error at offset 106 of 187 bytes in /in/X1m6g on line 9 string(4) "b:0;"
Output for 4.3.0 - 4.3.1
Notice: Unexpected end of serialized data in /in/X1m6g on line 9 Notice: unserialize() [http://www.php.net/function.unserialize]: Error at offset 106 of 187 bytes in /in/X1m6g on line 9 string(4) "b:0;"