3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(intval()); var_dump(is_null()); var_dump(substr());
based on W4kjb
Output for 5.3.0 - 5.6.28, 7.0.0 - 7.1.0
Warning: Wrong parameter count for intval() in /in/qUh4M on line 2 NULL Warning: is_null() expects exactly 1 parameter, 0 given in /in/qUh4M on line 2 bool(false) Warning: substr() expects at least 2 parameters, 0 given in /in/qUh4M on line 2 NULL
Output for hhvm-3.10.0 - 3.12.0
Warning: intval() expects at least 1 parameter, 0 given in /in/qUh4M on line 2 NULL Warning: is_null() expects exactly 1 parameter, 0 given in /in/qUh4M on line 2 bool(false) Warning: substr() expects at least 2 parameters, 0 given in /in/qUh4M on line 2 NULL
Output for 4.3.2 - 5.2.17
Warning: Wrong parameter count for intval() in /in/qUh4M on line 2 NULL Warning: is_null(): Only one argument expected in /in/qUh4M on line 2 bool(false) Warning: Wrong parameter count for substr() in /in/qUh4M on line 2 NULL
Output for 4.3.0 - 4.3.1
Warning: Wrong parameter count for intval() in /in/qUh4M on line 2 NULL Warning: is_null() [http://www.php.net/function.is-null]: Only one argument expected in /in/qUh4M on line 2 bool(false) Warning: Wrong parameter count for substr() in /in/qUh4M on line 2 NULL