3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php try { $val = 10*1000/0; echo($val); } catch (Exception $e) { echo("エラー:" . $e->getMessage()); //メッセージ表示 //ここでエラー回復処理 }
based on dINro
Output for 7.0.0 - 7.2.0
Warning: Division by zero in /in/tPAuS on line 3 INF
Output for 5.3.19 - 5.6.28
Warning: Division by zero in /in/tPAuS on line 3