Newbie Spellweaver
- Joined
- Nov 25, 2007
- Messages
- 11
- Reaction score
- 0
eek! i updated post, please reread
by putting '' you assign them as constants
a constant is something that does not change, over time or otherwise: a fixed value.
you don't change keys so php tells you about this - they must be constants
and also, it takes more resources, start 10 benches and see yourself. using constants takes alot less ram and cpu time
if you still don't believe me look at php.net mailing lists
Twice as Fast, Half the Price.
its not the same thingy!I did it without the ' ' because is the same than not using them and I don't have to concatenate strings that include those constants
by putting '' you assign them as constants
a constant is something that does not change, over time or otherwise: a fixed value.
you don't change keys so php tells you about this - they must be constants
and also, it takes more resources, start 10 benches and see yourself. using constants takes alot less ram and cpu time
if you still don't believe me look at php.net mailing lists
Twice as Fast, Half the Price.