3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php assert(2 < 1);
Output for 7.0.0 - 7.1.0
Warning: assert(): assert(2 < 1) failed in /in/o6jK0 on line 3
Output for 5.2.3 - 5.6.28, hhvm-3.12.0
Warning: assert(): Assertion failed in /in/o6jK0 on line 3
Output for hhvm-3.10.0
Output for 4.4.3 - 5.2.2
<br /> <b>Warning</b>: assert() [<a href='function.assert'>function.assert</a>]: Assertion failed in <b>/in/o6jK0</b> on line <b>3</b><br />
Output for 4.3.2 - 4.4.2
<br /> <b>Warning</b>: assert(): Assertion failed in <b>/in/o6jK0</b> on line <b>3</b><br />
Output for 4.3.0 - 4.3.1
<br /> <b>Warning</b>: assert() [<a href='http://www.php.net/function.assert'>function.assert</a>]: Assertion failed in <b>/in/o6jK0</b> on line <b>3</b><br />