Hi!

How is it better than:

$idx3 = $_POST['idx1']['idx2']['idx3'];

?

Regards,
Florian Margaine
Le 7 oct. 2014 18:05, "Mathias Grimm" <mathiasgr...@gmail.com> a écrit :

> Hi,
> I would like to suggest something for php like a class I am using
>
> https://github.com/mathiasgrimm/arraypath
>
> The reason is to access arrays like this:
>
> $idx3 = ArrayPath::get('idx1/idx2/idx3', $_POST, 'myDefaultValue');
>
>
> Regards,
> Mathias
>

Reply via email to