- A
- array_change_key_case
- array_chunk
- array_combine
- array_count_values
- array_diff
- array_diff_assoc
- array_diff_key
- array_fill
- array_fill_keys
- array_flip
- array_intersect
- array_intersect_assoc
- array_intersect_key
- array_key_exists
- array_keys
- array_pad
- array_product
- array_rand
- array_reverse
- array_search
- array_slice
- array_splice
- array_sum
- array_unique
- array_values
- arsort
- asort
- C
- count
- I
- in_array
- K
- krsort
- ksort
- N
- natcasesort
- natsort
- R
- range
- rsort
- S
- shuffle
- sort
array_pad
Definition
array array_pad ( array $input , int $pad_size , mixed $pad_value )
Description
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. It is possible to add most 1048576 elements at a time.