3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $name = "survey_que3"; $key=explode("survey_que",$name); print_r(array_filter($key,null));
Output for 5.3.0 - 7.1.0
Warning: array_filter() expects parameter 2 to be a valid callback, no array or string given in /in/cVFPu on line 7
Output for 4.3.2 - 5.2.17
Warning: array_filter(): The second argument, '', should be a valid callback in /in/cVFPu on line 7
Output for 4.3.0 - 4.3.1
Warning: array_filter() [http://www.php.net/function.array-filter]: The second argument, '', should be a valid callback in /in/cVFPu on line 7