Accepts a one-dimensional array where the keys are separated by a delimiter.
public static expand ( array $data, array $options = [] ) : array | ||
$data | array | The one-dimensional array to expand. |
$options | array | The options used when expanding the array: - `'separator'` _string_: The delimiter to use when separating keys. Defaults to `'.'`. |
Résultat | array | Returns a multi-dimensional array expanded from a one dimensional dot-separated array. |