3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $hundred = 100; try { assert(50 > $hundred); } catch (AssertionError $e) { echo "Hello {get_class($e)}: {$e->getMessage()}"; }
based on Qei2Y
Output for 7.0.0 - 7.2.0
Warning: assert(): assert(50 > $hundred) failed in /in/mFjqC on line 6
Output for 5.3.20 - 5.6.28
Warning: assert(): Assertion failed in /in/mFjqC on line 6