note 16711 deleted from function.array-splice by jimw

From: Date: Fri, 11 Jan 2002 21:50:40 +0000
Subject: note 16711 deleted from function.array-splice by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-24714@lists.php.net to get a copy of this message
One function I didn't find in php: function array_remove_nulls($input) { while(list($key,$val) = @each($input)) if (!$val) array_splice($input,$key,1); return $input; } Not sure what it does to associative arrays.

« previous php.notes (#24714) next »