note 28891 added to function.array-fill

From: Date: Mon, 27 Jan 2003 11:10:36 +0000
Subject: note 28891 added to function.array-fill
Groups: php.notes 
Request: Send a blank email to php-notes+get-42808@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 ! -- http://www.php.net/manual/en/function.array-fill.php http://master.php.net/manage/user-notes.php?action=edit+28891 http://master.php.net/manage/user-notes.php?action=delete+28891 http://master.php.net/manage/user-notes.php?action=reject+28891

« previous php.notes (#42808) next »