3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function foo() { try { echo "phplol\n"; } catch (Exception $e) { echo "exceptionlol\n"; } finally { return 42; } } var_dump(foo());
based on cQR0A
Output for 5.5.24 - 7.2.0
phplol int(42)
Output for 5.3.18 - 5.4.45
Parse error: syntax error, unexpected '{' in /in/Wbq5P on line 8
Process exited with code 255.