Re: [PHP] Hidden costs of PHP arrays?

2009-01-27 Thread Nathan Rixham
Robert Cummings wrote: On Wed, 2009-01-28 at 10:38 +1100, Clancy wrote: PHP arrays permit extremely concise programming; for example if I have all my contacts in an array $contacts, I can write: $my_phone_no = $contacts['clancy']['phone']; However it is clear that there must be a lot going on

Re: [PHP] Hidden costs of PHP arrays?

2009-01-27 Thread Robert Cummings
On Wed, 2009-01-28 at 10:38 +1100, Clancy wrote: > PHP arrays permit extremely concise programming; for example if I have all my > contacts in > an array $contacts, I can write: > > $my_phone_no = $contacts['clancy']['phone']; > > However it is clear that there must be a lot going on behind the

Re: [PHP] Hidden costs of PHP arrays?

2009-01-27 Thread Edmund Hertle
2009/1/28 Clancy > PHP arrays permit extremely concise programming; for example if I have all > my contacts in > an array $contacts, I can write: > > $my_phone_no = $contacts['clancy']['phone']; > > However it is clear that there must be a lot going on behind the scenes to > achieve this > simple

[PHP] Hidden costs of PHP arrays?

2009-01-27 Thread Clancy
PHP arrays permit extremely concise programming; for example if I have all my contacts in an array $contacts, I can write: $my_phone_no = $contacts['clancy']['phone']; However it is clear that there must be a lot going on behind the scenes to achieve this simple result, as it requires some sort