3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php assert('2 < 1');
Output for 7.2.0
Deprecated: assert(): Calling assert() with a string argument is deprecated in /in/B4hvN on line 3 Warning: assert(): Assertion "2 < 1" failed in /in/B4hvN on line 3
Output for 4.3.2 - 7.1.10
Warning: assert(): Assertion "2 < 1" failed in /in/B4hvN on line 3
Output for 4.3.0 - 4.3.1
Warning: assert() [http://www.php.net/function.assert]: Assertion "2 < 1" failed in /in/B4hvN on line 3