3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array(array(), array('a'), null, false, true); foreach($a as $k) { var_dump(is_array($k)); }
Output for 4.3.0 - 7.2.0
bool(true) bool(true) bool(false) bool(false) bool(false)