3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $siteId = null; try { $siteId = 3; throw new Exception('1 does not equal 2!'); } catch(Exception $e) { echo 'Error' . $moreInfo . ':' . $e->getMessage(); } echo $siteId;
based on B4s4b
Output for 5.3.19 - 7.3.0rc4
Notice: Undefined variable: moreInfo in /in/rIJh8 on line 8 Error:1 does not equal 2!3