note 95857 deleted from function.array-filter by danbrown

From: Date: Tue, 26 Jan 2010 15:16:43 +0000
Subject: note 95857 deleted from function.array-filter by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-165315@lists.php.net to get a copy of this message
Note Submitter: alan dot lake at lakeinfoworks dot com ---- Example 2, array_filter without callback, might well have included the empty array because it will return false. <?php $entry = array( 0 => 'foo', 1 => false, 2 => -1, 3 => null, 4 => '', 5 => array() ); print_r(array_filter($entry)); ?>

« previous php.notes (#165315) next »