3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr = array( 0, array(), array() ); $filter = array_filter($arr); print_r($filter); var_dump(empty($filter));
based on QLZFT
Output for 4.3.0 - 7.1.0
Array ( ) bool(true)