Code:

```
$a = array();
$a[] = 'a';
$a[] = 'b';
$a[] = 'c';
$a[] = array('e', 'f', array('g', '3'), 'c');
$a[] = 'd';

```

this works fine:

```
return $a[3][2][1];

```

it gives "3". But what if I need to do it with programmatically? A searching or something?