Bug #3307: Optional Warnings Feature Request
| From: | chriskl at tartarus dot uwa dot edu dot au | Date: | Tue, 25 Jan 2000 03:27:27 +0000 |
| Subject: | Bug #3307: Optional Warnings Feature Request | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-14898@lists.php.net to get a copy of this message | ||
From: chriskl@tartarus.uwa.edu.au
Operating system: FreeBSD
PHP version: 3.0.13
PHP Bug Type: Feature/Change Request
Bug description: Optional Warnings Feature Request
Just an idea:
How about adding the ability to turn on runtime 'warnings' in the PHP engine, such as when
you try to read from a variable that has not been set yet, or even writing to a variable that has
not been 'declared' and other such warnings. It is just really annoying trying to debug
PHP programs when it's so easy to accidentally forget to global a var in a function and use it
and have things going haywire for no apparent reason...
Chris