3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php is_null();is_null(null);is_null(null, null);is_null(null, null, null);strpos();strpos(null);strpos(null, null);strpos(null, null, null);strpos(null, null, null, null);
based on U5t7H
Output for 5.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
Warning: is_null() expects exactly 1 parameter, 0 given in /in/NQc2T on line 1 Warning: is_null() expects exactly 1 parameter, 2 given in /in/NQc2T on line 1 Warning: is_null() expects exactly 1 parameter, 3 given in /in/NQc2T on line 1 Warning: strpos() expects at least 2 parameters, 0 given in /in/NQc2T on line 1 Warning: strpos() expects at least 2 parameters, 1 given in /in/NQc2T on line 1 Warning: strpos() expects at most 3 parameters, 4 given in /in/NQc2T on line 1
Output for hhvm-3.10.0

Process exited with code 153.
Output for 4.3.2 - 5.2.17
Warning: is_null(): Only one argument expected in /in/NQc2T on line 1 Warning: is_null(): Only one argument expected in /in/NQc2T on line 1 Warning: is_null(): Only one argument expected in /in/NQc2T on line 1 Warning: Wrong parameter count for strpos() in /in/NQc2T on line 1 Warning: Wrong parameter count for strpos() in /in/NQc2T on line 1 Warning: Wrong parameter count for strpos() in /in/NQc2T on line 1
Output for 4.3.0 - 4.3.1
Warning: is_null() [http://www.php.net/function.is-null]: Only one argument expected in /in/NQc2T on line 1 Warning: is_null() [http://www.php.net/function.is-null]: Only one argument expected in /in/NQc2T on line 1 Warning: is_null() [http://www.php.net/function.is-null]: Only one argument expected in /in/NQc2T on line 1 Warning: Wrong parameter count for strpos() in /in/NQc2T on line 1 Warning: Wrong parameter count for strpos() in /in/NQc2T on line 1 Warning: Wrong parameter count for strpos() in /in/NQc2T on line 1