3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php register_shutdown_function('fatalHandler'); function fatalHandler() { echo "fatal handler\n" } try { trigger_error("Fatal error", E_USER_ERROR); } catch (Exception $e) { echo "exception\n"; } finally { echo "finally\n"; }
Output for 5.3.0 - 5.4.28
Parse error: syntax error, unexpected '}', expecting ',' or ';' in /in/ZuPql on line 6
Process exited with code 255.