RE: [PHP] undefined variable notice - how to furn of[Scanned]
| From: | Michael Egan | Date: | Thu, 09 Jan 2003 16:27:18 +0000 |
| Subject: | RE: [PHP] undefined variable notice - how to furn of[Scanned] | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-130969@lists.php.net to get a copy of this message | ||
Borut,
I had this problem myself just before Christmas.
The following solution was proposed:
>> All of the PHP scripts hosted on a Linux server
>> I'm working with have suddenly begun producing
>> an error message:
>>
>> undefined variable 'variablename'
> Looks like someone's tweaked the error reporting level so it's on E_ALL,
> which can be a somewhat alarmist setting :-)
> Read all about it at http://php.net/manual/en/ref.errorfunc.php
Michael Egan
-----Original Message-----
From: Borut Kovacec [mailto:borut@ra-gazela.si]
Sent: 09 January 2003 15:57
To: PHP Mailing List
Subject: [PHP] undefined variable notice - how to furn of[Scanned]
Hi
I just installed new php 4.2.3 on Win XP, Apache 1.3.24..
Everything works fine, just now I'm getting "Notice" messages for every undefined
variable or undefined index in arrays..
So now I have to use issset() everytime to avoid this messages...
..is there any way to turn this messages off, because if prior versions I never got them..??
Borut