3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php array_filter(array('phpinfo()'), 'asserts');
Output for 5.3.0 - 7.1.0
Warning: array_filter() expects parameter 2 to be a valid callback, function 'asserts' not found or invalid function name in /in/0ZrHO on line 2
Output for 4.3.2 - 5.2.17
Warning: array_filter(): The second argument, 'asserts', should be a valid callback in /in/0ZrHO on line 2
Output for 4.3.0 - 4.3.1
Warning: array_filter() [http://www.php.net/function.array-filter]: The second argument, 'asserts', should be a valid callback in /in/0ZrHO on line 2