3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = '1,2,3,6,54,8'; $str2 = ''; var_dump(explode($str)); var_dump(explode($str2));
Output for 5.3.0 - 7.2.0
Warning: explode() expects at least 2 parameters, 1 given in /in/OA0qS on line 6 NULL Warning: explode() expects at least 2 parameters, 1 given in /in/OA0qS on line 7 NULL
Output for 4.3.0 - 5.2.17
Warning: Wrong parameter count for explode() in /in/OA0qS on line 6 NULL Warning: Wrong parameter count for explode() in /in/OA0qS on line 7 NULL