Other than the fact you cannot overwrite them (which helps with 
carelessness), is there any real benefit to declaring a CONSTANT over just 
defining a variable?  In typical compiled programs, I believe constants or 
macros don't load into the symbol table, thus reducing memory requirements 
for the executable.  But since PHP isn't a compiled program, but a script 
parser, is there any real benefit?


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to