3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function foo ($firstname) { if (!$firstname) { throw new \Exception('Division par zéro.'); } } try { }catch (\Exeption $e ) { var_dump($e); }
Output for 7.1.7