3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $TEST = ""; if ($TEST.is_null()) echo "true"; else echo "false";
Output for 5.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Warning: is_null() expects exactly 1 parameter, 0 given in /in/5Ttg9 on line 5 false
Output for 4.3.2 - 5.2.17
Warning: is_null(): Only one argument expected in /in/5Ttg9 on line 5 false
Output for 4.3.0 - 4.3.1
Warning: is_null() [http://www.php.net/function.is-null]: Only one argument expected in /in/5Ttg9 on line 5 false