Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #4967

Re: way to turn off strict option? Use of undefined constant

From "Peter H. Coffin" <hellsop@ninehells.com>
Newsgroups comp.lang.php
Subject Re: way to turn off strict option? Use of undefined constant
Date 2012-02-23 15:55 -0600
Organization A noiseless patient Spider
Message-ID <slrnjkdde0.rcn.hellsop@nibelheim.ninehells.com> (permalink)
References <69c9643c-2a9f-4f51-b388-4c767d021623@r1g2000yqk.googlegroups.com>

Show all headers | View raw


On Thu, 23 Feb 2012 08:01:48 -0800 (PST), Paul wrote:
> I installed a new version of PHP and now am getting errors on my pages
> that say:
>
> Notice: Use of undefined constant....
>
> Is there any way in the page that I can add some code so I do not get
> these errors?  I just want to get this working and will go back and
> fix this later.
>
> But maybe there is a way like in VB a way to turn off Option
> Explicit ?

Or you could, you know, define your constants...

-- 
Nay, God Himself will not save men against their wills.  -Locke

Back to comp.lang.php | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

way to turn off strict option? Use of undefined constant Paul <pauly814@gmail.com> - 2012-02-23 08:01 -0800
  Re: way to turn off strict option? Use of undefined constant Michael Fesser <netizen@gmx.de> - 2012-02-23 18:21 +0100
  Re: way to turn off strict option? Use of undefined constant "Álvaro G. Vicario" <alvaro.NOSPAMTHANX@demogracia.com.invalid> - 2012-02-23 19:00 +0100
  Re: way to turn off strict option? Use of undefined constant "Peter H. Coffin" <hellsop@ninehells.com> - 2012-02-23 15:55 -0600

csiph-web