note 110173 deleted from function.array-fill by googleguy

From: Date: Tue, 23 Oct 2012 12:01:52 +0000
Subject: note 110173 deleted from function.array-fill by googleguy
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-191495@lists.php.net to get a copy of this message
Note Submitter: fat-lip at inbox dot ru ---- $b = array_fill(-2, 4, 'pear'); print_r($b); will give Array ( [-2] => pear [-1] => pear [0] => pear [1] => pear ) but not a Array ( [-2] => pear [0] => pear [1] => pear [2] => pear )

« previous php.notes (#191495) next »