note 28891 deleted from function.array-fill by alindeman

From: Date: Sat, 03 May 2003 21:11:40 +0000
Subject: note 28891 deleted from function.array-fill by alindeman
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-47467@lists.php.net to get a copy of this message
Beware of parameter bug in array_fill() ! The array_fill() function generates an error when the (int) Num parameter contains a zero value. This of course, is quite silly: it should simply return an empty array !

« previous php.notes (#47467) next »