RE: Option Explicit
| From: | Nold, Mark | Date: | Fri, 17 Nov 2000 08:42:39 +0000 |
| Subject: | RE: Option Explicit | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-3938@lists.php.net to get a copy of this message | ||
----------------------------------------------------------------------------
-----------------
Disclaimer: The information contained in this email is intended only for the
use of the person(s) to whom it is addressed and may be confidential or
contain legally privileged information. If you are not the intended
recipient you are hereby notified that any perusal, use, distribution,
copying or disclosure is strictly prohibited. If you have received this
email in error please immediately advise us by return email at
postmaster@normandy.com.au and delete the email document without making a
copy.
----------------------------------------------------------------------------
-----------------
Im not sure of the exact settings but by increasing your error warning
levels you can get warnings about non intialised variables.
Mark Nold
markn@enspace.com <mailto:markn@enspace.com>
Senior Consultant
Change is inevitable, except from vending machines.
-----Original Message-----
From: Mujahid Wazir [mailto:mwazir@vsnl.com]
Sent: Friday, November 17, 2000 9:36 AM
To: php-windows@lists.php.net
Subject: Option Explicit
I come from a VB/ASP background and just started PHP.
I would use Option Explicit in each module to ensure that every variable
used is first declared. Any such directive available here ? or any changes
to be made to the PHP.INI to have the same effect ?
Thanks
- Mujahid