3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php //class phpinfo {} //$a = 'O:12:"phpinfo();/*":0:{}'; $a = 'O:7:"phpinfo":0:{}'; var_dump(unserialize($a)); //var_export(unserialize($a)); //eval('$b = '.var_export(unserialize($a), true).';');
based on 00BTb
Output for 5.0.0 - 5.0.5, 5.1.1 - 7.1.0
object(__PHP_Incomplete_Class)#1 (1) { ["__PHP_Incomplete_Class_Name"]=> string(7) "phpinfo" }
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/68CEl on line 9
Process exited with code 255.
Output for 4.3.0 - 4.4.9
object(__PHP_Incomplete_Class)(1) { ["__PHP_Incomplete_Class_Name"]=> string(7) "phpinfo" }