3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php try { $a = 1/0; } catch(Exception $e) { echo $e->getMessage(); $a = 3; } echo $a;
based on Vt8Rj
Output for 7.0.0 - 7.2.0
Warning: Division by zero in /in/UB91N on line 4 INF
Output for 5.3.19 - 5.6.28
Warning: Division by zero in /in/UB91N on line 4