Re: [PHP] benefit of constants

2001-03-02 Thread Phil Glatz
At 12:48 PM 03/02/2001 -0700, Joe wrote: >is there any real benefit to declaring a CONSTANT over just defining a >variable? The fact they can't be overwritten makes them more appropriate for true constants, absolutely no way to change their values. I frequently use them in include files to se

[PHP] benefit of constants

2001-03-02 Thread Joe Sheble (Wizaerd)
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 t