note 107967 deleted from function.array-filter by danbrown

From: Date: Thu, 10 May 2012 18:02:21 +0000
Subject: note 107967 deleted from function.array-filter by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-187707@lists.php.net to get a copy of this message
Note Submitter: PHPannonces ---- // Suppression des entrées vides du tableau et réindexation numérique du tableau // Remove blank entries in the table and reindexing numeric table $array = array('tomate', '', 'pomme', 'melon', 'cerise', '', '', 'banane'); print_r(array_values(array_filter($array)));

« previous php.notes (#187707) next »