3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php unserialize('a:4:{i:0;C:6:"Widget":70:{a:1:{s:10:"references";a:1:{i:0;O:11:"Placeholder":1:{s:2:"id";i:1;}}}}i:1;C:6:"Widget":70:{a:1:{s:10:"references";a:1:{i:0;O:11:"Placeholder":1:{s:2:"id";i:2;}}}}i:2;C:6:"Widget":38:{a:1:{s:10:"references";a:1:{i:0;r:5;}}}i:3;C:6:"Widget":38:{a:1:{s:10:"references";a:1:{i:0;r:5;}}}}');
Output for 5.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Warning: Class __PHP_Incomplete_Class has no unserializer in /in/MKmo2 on line 3 Warning: Class __PHP_Incomplete_Class has no unserializer in /in/MKmo2 on line 3 Warning: Class __PHP_Incomplete_Class has no unserializer in /in/MKmo2 on line 3 Warning: Class __PHP_Incomplete_Class has no unserializer in /in/MKmo2 on line 3
Output for 5.1.0 - 5.2.17
Warning: Class __PHP_Incomplete_Class has no unserializer in /in/MKmo2 on line 3 Notice: unserialize(): Error at offset 20 of 310 bytes in /in/MKmo2 on line 3
Output for 4.3.2 - 5.0.5
Notice: unserialize(): Error at offset 9 of 310 bytes in /in/MKmo2 on line 3
Output for 4.3.0 - 4.3.1
Notice: unserialize() [http://www.php.net/function.unserialize]: Error at offset 9 of 310 bytes in /in/MKmo2 on line 3