3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php for ($i = 1; $i < 10; $i++){ try{ if ($i%2==0){ throw new Exception('not by 2'); } } catch(Exception $ex){ echo $ex->getMessage(); echo PHP_EOL; continue; } }
Output for 5.6.38 - 7.3.0rc3
not by 2 not by 2 not by 2 not by 2