3v4l.org

run code in 300+ PHP versions simultaneously
<?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;}'));
Output for 8.3.0 - 8.3.6
Warning: unserialize(): Error at offset 81 of 81 bytes in /in/bNFSv on line 3 bool(false)
Output for 7.1.10 - 7.1.20, 7.2.0 - 7.2.33, 7.3.16 - 7.3.31, 7.4.0 - 7.4.32, 8.0.0 - 8.0.12, 8.0.14 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18
Notice: unserialize(): Error at offset 81 of 81 bytes in /in/bNFSv on line 3 bool(false)
Output for 7.4.33, 8.0.13
Warning: Class __PHP_Incomplete_Class has no unserializer in /in/bNFSv on line 3 Notice: unserialize(): Error at offset 81 of 81 bytes in /in/bNFSv on line 3 bool(false)
Output for 7.3.32 - 7.3.33
Warning: Class __PHP_Incomplete_Class has no unserializer in /in/bNFSv on line 3 bool(false)
Output for 5.6.8 - 5.6.20, 5.6.28, 7.0.0 - 7.0.5, 7.0.20, 7.1.0 - 7.1.7
Notice: unserialize(): Error at offset 82 of 81 bytes in /in/bNFSv on line 3 bool(false)
Output for 5.4.2 - 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)

preferences:
174.03 ms | 402 KiB | 228 Q