Mecha CMS

Helper functions.

get

Get array value recursively using dot notation.

2.2.0

get(array $data, string $access, string $join = '.');

Example:

// Return `$_GET['foo']['bar']['baz']` value or `null`
echo get($_GET, 'foo.bar.baz');