manual for array_fill | search for "array_fill"
Manual © 2001-2008 The PHP Group
array_fill
Description
array array_fill ( int start_index, int num, mixed value)array_fill() fills an array with num entries of the value of the value parameter, keys starting at the start_index parameter. Note that num must be a number greater than zero, or PHP will throw a warning.
See also str_repeat() and range().
© 2008 phparadise | go to the top | search phparadise | generated in 0.041 seconds
47 hits by 14 users in the last 30 minutes.