3v4l.org

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