3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php set_error_handler(function ($errno) { if (!(error_reporting() & $errno)) { return false; } return false; }); $a = @(1/0); var_dump(error_get_last());
Output for 5.6.0 - 5.6.30, hhvm-3.12.14 - 3.17.3, 7.0.0 - 7.3.0rc4
array(4) { ["type"]=> int(2) ["message"]=> string(16) "Division by zero" ["file"]=> string(9) "/in/cp5l0" ["line"]=> int(13) }