array_replace
ahmard/quick-route
Supported Versions: PHP 5 >= 5.3.0, PHP 7, PHP 8
Replaces elements from passed arrays into the first array
<?php array_replace
(array
$array
, array ...
$replacements
): array