3v4l.org

run code in 200+ php & hhvm versions
<?php try {} finally {}
based on Sd7lh
Output for 5.5.0 - 5.6.38, hhvm-3.11.1 - 3.22.0, 7.0.0 - 7.2.11
Output for 5.4.13 - 5.4.45
Parse error: syntax error, unexpected 'finally' (T_STRING), expecting catch (T_CATCH) in /in/njTpB on line 3
Process exited with code 255.
Output for 5.3.23 - 5.3.29
Parse error: syntax error, unexpected T_STRING, expecting T_CATCH in /in/njTpB on line 3
Process exited with code 255.