3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(unserialize('a:2:{i:0;C:3:"GMP":17:{s:4:"1234";a:0:{}}i:1;O:12:"DateInterval":1:{s:1:"y";R:2;}'));
based on iFm7W
Output for 7.1.10 - 7.2.0
Notice: unserialize(): Error at offset 81 of 81 bytes in /in/bNFSv on line 3 bool(false)
Output for 5.6.8 - 5.6.20, 5.6.28 - 7.0.5, 7.0.20 - 7.1.7
Notice: unserialize(): Error at offset 82 of 81 bytes in /in/bNFSv on line 3 bool(false)
Output for 5.3.18 - 5.4.43, 5.5.24 - 5.5.27, 7.0.6
Warning: Class __PHP_Incomplete_Class has no unserializer in /in/bNFSv on line 3 Notice: Object of class __PHP_Incomplete_Class could not be converted to int in /in/bNFSv on line 3 Notice: unserialize(): Error at offset 82 of 81 bytes in /in/bNFSv on line 3 bool(false)
Output for 5.4.44 - 5.4.45, 5.5.28 - 5.5.35, 5.6.21
Warning: Class __PHP_Incomplete_Class has no unserializer in /in/bNFSv on line 3 Notice: unserialize(): Error at offset 82 of 81 bytes in /in/bNFSv on line 3 bool(false)