3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(myf()); function myf() { $test = false; assert($test); return true; }
based on NA69v
Output for 7.0.0 - 7.2.0
Warning: assert(): assert($test) failed in /in/oW7vd on line 7 bool(true)
Output for 5.3.22 - 5.6.21
Warning: assert(): Assertion failed in /in/oW7vd on line 7 bool(true)