3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php assert('is_string(1);'); assert(is_string(1));
Output for 7.0.0 - 7.1.0
Warning: assert(): Assertion "is_string(1);" failed in /in/4k8hE on line 3 Warning: assert(): assert(is_string(1)) failed in /in/4k8hE on line 4
Output for 4.3.2 - 5.6.28
Warning: assert(): Assertion "is_string(1);" failed in /in/4k8hE on line 3 Warning: assert(): Assertion failed in /in/4k8hE on line 4
Output for 4.3.0 - 4.3.1
Warning: assert() [http://www.php.net/function.assert]: Assertion "is_string(1);" failed in /in/4k8hE on line 3 Warning: assert() [http://www.php.net/function.assert]: Assertion failed in /in/4k8hE on line 4