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:[EMAIL PROTECTED]
Sent: Wednesday, 9 July 2003 11:10 AM
To: [EMAIL PROTECTED]
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




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to