3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php use strict; function error_handler ( $errno ) { $trace=debug_backtrace(); var_dump($errno); var_dump( $trace); $error = error_get_last(); $output = ""; foreach ($error as $info => $string) $output .= "{$info}: {$string}\n"; return $output; } ob_start('error_handler'); will_this_undefined_function_raise_an_error();
Output for 5.4.0 - 5.4.17
Fatal error: You seem to be trying to use a different language... in /in/9v3fh on line 2
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Warning: The use statement with non-compound name 'strict' has no effect in /in/9v3fh on line 2 type: 1 message: Call to undefined function will_this_undefined_function_raise_an_error() file: /in/9v3fh line: 23
Process exited with code 255.