3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = 'O:11:"phpinfo()//":0:{}'; eval('$b = ' . var_export(unserialize($a), true) . ';');
based on 8JhMO
Output for 4.3.11 - 4.4.9, 5.0.4 - 7.1.0
Notice: unserialize(): Error at offset 13 of 23 bytes in /in/sM8Ec on line 4
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.3.10, 5.0.0 - 5.0.3
Parse error: parse error, unexpected T_CLASS in /in/sM8Ec(4) : eval()'d code on line 1
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/sM8Ec(4) : eval()'d code on line 1
Process exited with code 255.