PHP - Array Functions
Which of the following is the correct syntax to pad an array
$arr to size 5 with the value 0 using array_pad?$arr to size 5 with the value 0 using array_pad?array_pad(array, size, value), where the first argument is the array, second is the desired size, third is the padding value.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions