Re: Associative Array key funkyness
| From: | Daniel Convissor | Date: | Fri, 28 Jul 2000 21:21:13 +0000 |
| Subject: | Re: Associative Array key funkyness | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-8860@lists.php.net to get a copy of this message | ||
Hey Chris:
"Boget, Chris" wrote:
>
> So, while it is invalid, it still works because PHP understands
> what you mean by it, correct?
Yep.
> So if you have the reporting
> settings low enough you don't get a warning, but are there
> other repurcussions to doing things like this?
The quote marks make sure the key you typed in is not a constant.
Enjoy,
--Dan
--
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
More than just answers. Solutions. (SM)
http://www.analysisandsolutions.com/
4015 7 Av #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409