Re: Associative Array Benchmarking
| From: | Michal Migurski | Date: | Sun, 19 Sep 2004 16:01:06 +0000 |
| Subject: | Re: Associative Array Benchmarking | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-197201@lists.php.net to get a copy of this message | ||
> Although I'm not certain how well known this is, I thought I'd share
> this with everyone who might have wondered if there was a benefit to
> using or not using quotes when referencing associative arrays.
The benefit to using quotes is that it's the right thing to do, unless
you're looking for constants instead of strings. Sometimes a quick R of
the first few chapters in TFM beats a benchmark.
---------------------------------------------------------------------
michal migurski- contact info and pgp key:
sf/ca http://mike.teczno.com/contact.html