Re: Do constants take up much space?
| From: | (Richard Lynch) | Date: | Fri, 30 Jun 2000 21:01:53 +0000 |
| Subject: | Re: Do constants take up much space? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-4148@lists.php.net to get a copy of this message | ||
In article <000101bfdc65$1e357250$a01764cb@marduksrealm>,
mboulter@uq.net.au ("Matthew M. Boulter") wrote:
> Let say I end up going mad (hey it happens in our industry) and create
> around 300+ error codes, what penalty am I going to incur in my scripting?
> Any? Do they take long to define?
I would guess that constants would be just about as efficient as you could
get...
Certainly 300 does not seem an excessive number.
Try it and see.
--
Richard Lynch | If this was worth $$$ to you, buy a CD
US Customer Support Director | from one of the artists listed here:
Zend Technologies USA | http://www.L-I-E.com/artists.htm
http://www.zend.com | (this has nothing to do with Zend,
duh!)