3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(unserialize('O:12:"DateInterval":1:{s:1:"y";C:3:"GMP":17:{s:4:"1234";a:0:{}}'));
Output for 5.6.0 - 7.1.7
Notice: unserialize(): Error at offset 64 of 63 bytes in /in/F3JJ9 on line 3 bool(false)
Output for 5.4.44 - 5.4.45, 5.5.28 - 5.5.38
Warning: Class __PHP_Incomplete_Class has no unserializer in /in/F3JJ9 on line 3 Notice: unserialize(): Error at offset 64 of 63 bytes in /in/F3JJ9 on line 3 bool(false)
Output for 5.4.0 - 5.4.43, 5.5.0 - 5.5.27
Warning: Class __PHP_Incomplete_Class has no unserializer in /in/F3JJ9 on line 3 Notice: Object of class __PHP_Incomplete_Class could not be converted to int in /in/F3JJ9 on line 3 Notice: unserialize(): Error at offset 64 of 63 bytes in /in/F3JJ9 on line 3 bool(false)