array_pad

PHP 4, PHP 5, PHP 7, PHP 8
array_pad - Pad array to the specified length with a value

Example #1 array_pad example

PHP Version:


Example #2 of array_pad

PHP Version:


Function array_pad:

Arrays Functions

Most used PHP functions