manual for array_pad | search for "array_pad"
Manual © 2001-2008 The PHP Group
array_pad
Description
array array_pad ( array input, int pad_size, mixed pad_value)array_pad() returns a copy of the input padded to size specified by pad_size with value pad_value. If pad_size is positive then the array is padded on the right, if it's negative then on the left. If the absolute value of pad_size is less than or equal to the length of the input then no padding takes place.
See also array_fill() and range().
© 2008 phparadise | go to the top | search phparadise | generated in 0.036 seconds
38 hits by 13 users in the last 30 minutes.