Re: Undefined Variable
| From: | David Robley | Date: | Mon, 19 Mar 2001 00:53:40 +0000 |
| Subject: | Re: Undefined Variable | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-44468@lists.php.net to get a copy of this message | ||
On Sun, 18 Mar 2001 00:13, Jorge Alvarez wrote:
> Hi there,
>
> I get this error every time I try to use a variable that has not been
> declared. Is this new to PHP4? I do not recall this error in the past,
> echo $MYVAR echoed nothing if $MYVAR was not set but no error was
> raised.
>
> How can I revert PHP behavior to 'no-error' with undeclared variables?
>
> Many thanks in advance,
>
> Jorge Alvarez
> PHP4 new user
You may need to play around with the value of error_reporting in your
php.ini file.
--
David Robley | WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet | http://auseinet.flinders.edu.au/
Flinders University, ADELAIDE, SOUTH AUSTRALIA