3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function handleError( $errno, $errstr, $errfile, $errline ) { if ( E_RECOVERABLE_ERROR === $errno ) { echo $errstr; } } set_error_handler( 'handleError' ); try{ $g = new Generator; $g->whatami = "a highly dubious property"; } catch{ $e->getMessage(); } finally { echo "\nTidying up loose ends ... "; }
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.3.0 - 5.4.22
Parse error: syntax error, unexpected '{', expecting '(' in /in/PSbaH on line 11
Process exited with code 255.