RE: [PHP] how to force variables declaration??
| From: | Martin Towell | Date: | Wed, 09 Jul 2003 01:11:44 +0000 |
| Subject: | RE: [PHP] how to force variables declaration?? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-154463@lists.php.net to get a copy of this message | ||
change your error reporting level to E_ALL
You'll then get a warning|notice (can't remember which)
-----Original Message-----
From: mack paul [mailto:mplescano2000@peru.com]
Sent: Wednesday, 9 July 2003 11:10 AM
To: php-general@lists.php.net
Subject: [PHP] how to force variables declaration??
hi to all.
i would like to know how to force to php to declare everything variable,
example
var $var;
$var = bla,bla..
var $var2 = array();
$var2 = bla,bla..
and issue error when a variable is instanced without declare, some idea???:
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
__________ Information from NOD32 1.452 (20030703) __________
This message was checked by NOD32 for Exchange e-mail monitor.
http://www.nod32.com