3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php try { $a = 1; } finally() { $a = 2; } echo $a;
Output for 5.4.0 - 5.4.16
Parse error: syntax error, unexpected 'finally' (T_STRING), expecting catch (T_CATCH) in /in/pEItc on line 6
Process exited with code 255.
Output for 5.3.0 - 5.3.26
Parse error: syntax error, unexpected T_STRING, expecting T_CATCH in /in/pEItc on line 6
Process exited with code 255.