array_pad
reactphp/promise
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Pad array to the specified length with a value
<?php array_pad
(array
$array
,
int $length
,
mixed $value
): array