3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php //$e = error_reporting(E_ALL); //echo $e."\n"; $e = error_reporting(0); echo $e."\n"; $u = error_reporting($e); $v = error_reporting(0); echo $u."\n"; echo $v."\n"; echo "done";
Output for 4.3.0 - 7.2.0
-1 0 -1 done