3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php try{ $a = $a + $b; return; } catch (Exception $e) { echo $e->getMessage(); }
Output for 7.0.0 - 7.2.9
Notice: Undefined variable: a in /in/R85SB on line 4 Notice: Undefined variable: b in /in/R85SB on line 4
Output for hhvm-3.22.0
Notice: Undefined variable: b in /in/R85SB on line -1 Notice: Undefined variable: a in /in/R85SB on line -1
Output for 5.6.30, hhvm-3.15.4 - 3.21.3
Notice: Undefined variable: b in /in/R85SB on line 4 Notice: Undefined variable: a in /in/R85SB on line 4