On Sat, Jun 16, 2012 at 7:17 AM, Ashley Sheridan
wrote:
> On Sat, 2012-06-16 at 07:09 -0500, Karl DeSaulniers wrote:
>
>> On Jun 16, 2012, at 6:39 AM, Maciek Sokolewicz wrote:
>>
>> > On 16-06-2012 08:36, Karl DeSaulniers wrote:
>> >> Quick question phprz. Is it ok to put a token inside a define()
On Sat, 2012-06-16 at 07:09 -0500, Karl DeSaulniers wrote:
> On Jun 16, 2012, at 6:39 AM, Maciek Sokolewicz wrote:
>
> > On 16-06-2012 08:36, Karl DeSaulniers wrote:
> >> Quick question phprz. Is it ok to put a token inside a define()
> >> statement?
> >>
> >> IE:
> >> define('TOKEN', $sometoke
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
[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 (http://www
4 matches
Mail list logo