3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function _arte_cms_tracking_og_are_settings_null($multiarray) { if(is_array($multiarray) and !empty($multiarray)){ $tmp = array_shift($multiarray); if(!is_multiArrayEmpty($multiarray) or !is_multiArrayEmpty($tmp)){ return false; } return true; } if(empty($multiarray)){ return true; } return false; } $t = array(); if (_arte_cms_tracking_og_are_settings_null($t)) { echo "EMPTY"; }else { echo "NOT EMPTY!"; }
Output for 4.3.0 - 7.1.0
EMPTY