3v4l.org

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