foo[bar] _or_ foo['bar'] ?
| From: | Matthias Krehl | Date: | Tue, 13 Feb 2001 10:51:52 +0000 |
| Subject: | foo[bar] _or_ foo['bar'] ? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-39395@lists.php.net to get a copy of this message | ||
Hi there!
I'd really appreciate a clear statement whether to use better
$foo = array('bar' => 'boing');
doWhatSoEver($foo[bar]);
or
$foo = array('bar' => 'boing');
doWhatSoEver($foo['bar']);
Someone to know that?
bye Matthias
Matthias Krehl
matthias.krehl@key-work.de