3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function lpErrorHandler($no,$str, $file,$line,$varList) { print_r($varList); throw new ErrorException($str,0,$no,$file,$line); return true; } set_error_handler("lpErrorHandler"); 14/0; class_exists($name,false)
Output for 5.4.0 - 5.4.10
Parse error: syntax error, unexpected end of file in /in/4Z367 on line 15
Process exited with code 255.
Output for 5.3.0 - 5.3.20
Parse error: syntax error, unexpected $end in /in/4Z367 on line 15
Process exited with code 255.