RE: [PHP] Re: define constants within functions?

2004-08-11 Thread Jay Blanchard
[snip] Sure, define them outside the function :) [/snip] I have not tried this (we usually place constants in a section of the code external to any function) but are you saying that if a constant is defined within the bounds of a function it is not global? -- PHP General Mailing List

Re: [PHP] Re: define constants within functions?

2004-08-11 Thread Justin Patrin
On Wed, 11 Aug 2004 06:54:35 -0500, Jay Blanchard [EMAIL PROTECTED] wrote: [snip] Sure, define them outside the function :) [/snip] I have not tried this (we usually place constants in a section of the code external to any function) but are you saying that if a constant is defined within