private static arraySelect ( array $keys, array $array, mixed $default = null ) : mixed | ||
$keys | array | An array of keys to try. |
$array | array | The array to select from. |
$default | mixed | The default value if non of the keys exist. |
return | mixed | Returns the first non-empty value of {@link $default} if none are found. |