3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = 'O:9:"phpinfo()":0:{}'; eval('$b = ' . var_export(unserialize($a), true) . ';');
based on ZldeJ
Output for 4.3.11 - 4.4.9, 5.0.4 - 5.6.28, 7.0.0 - 7.1.0
Notice: unserialize(): Error at offset 12 of 20 bytes in /in/8JhMO on line 4
Output for hhvm-3.12.0
Fatal error: syntax error, unexpected T_DOUBLE_COLON in /in/8JhMO(4)(3123a32def982defb54c4bdec3d2bb7a) : eval()'d code on line 1
Output for hhvm-3.10.0

Process exited with code 153.
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/8JhMO(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/8JhMO(4) : eval()'d code on line 1
Process exited with code 255.