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," "));
Output for 5.3.0 - 5.6.28, 7.0.0 - 7.1.0
Warning: array_filter() expects parameter 2 to be a valid callback, function ' ' not found or invalid function name in /in/9OG5c on line 7
Output for hhvm-3.10.0 - 3.12.0
Warning: array_filter() expects parameter 2 to be a valid callback in /in/9OG5c on line 7
Output for 4.3.2 - 5.2.17
Warning: array_filter(): The second argument, ' ', should be a valid callback in /in/9OG5c 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/9OG5c on line 7