It would be print $a['purple']['hello'][9];
You can not use index 2, since $a does not have an index 2, so why would that even be an option? The same goes for the "purple" index. That array does not...