3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(is_string(1, 2)); var_dump(is_integer());
based on SbARM
Output for 5.3.0 - 7.1.0
Warning: is_string() expects exactly 1 parameter, 2 given in /in/L8PW3 on line 3 bool(false) Warning: is_integer() expects exactly 1 parameter, 0 given in /in/L8PW3 on line 4 bool(false)
Output for 4.3.2 - 5.2.17
Warning: is_string(): Only one argument expected in /in/L8PW3 on line 3 bool(false) Warning: is_integer(): Only one argument expected in /in/L8PW3 on line 4 bool(false)
Output for 4.3.0 - 4.3.1
Warning: is_string() [http://www.php.net/function.is-string]: Only one argument expected in /in/L8PW3 on line 3 bool(false) Warning: is_integer() [http://www.php.net/function.is-integer]: Only one argument expected in /in/L8PW3 on line 4 bool(false)