note 29375 added to function.array-filter

From: Date: Tue, 11 Feb 2003 20:47:20 +0000
Subject: note 29375 added to function.array-filter
Groups: php.notes 
Request: Send a blank email to php-notes+get-43794@lists.php.net to get a copy of this message
You cannot do this: $non_empty_array = array_filter($original_array, 'empty'); Since empty() is not a function but a language construct. (http://www.php.net/manual/en/function.empty.php) -- http://www.php.net/manual/en/function.array-filter.php http://master.php.net/manage/user-notes.php?action=edit+29375 http://master.php.net/manage/user-notes.php?action=delete+29375 http://master.php.net/manage/user-notes.php?action=reject+29375

« previous php.notes (#43794) next »