requireAndMergeArrays.php
Table of Contents
Functions
- requireAndMergeArrays() : array<string|int, mixed>
- Requires multiple PHP files (each returning an array) and merges the results.
Functions
requireAndMergeArrays()
Requires multiple PHP files (each returning an array) and merges the results.
requireAndMergeArrays(array<string|int, mixed> $filePaths[, bool $recursive = true ]) : array<string|int, mixed>
Parameters
- $filePaths : array<string|int, mixed>
-
An array of absolute or relative file paths to load.
- $recursive : bool = true
-
Whether to perform a deep (recursive) merge (true) or a simple merge (false).
Tags
Return values
array<string|int, mixed> —The merged array.