Re: Re: Option Explicit

From: Date: Sat, 18 Nov 2000 20:19:31 +0000
Subject: Re: Re: Option Explicit
References: 1 2  Groups: php.windows 
Request: Send a blank email to php-windows+get-3974@lists.php.net to get a copy of this message
im pretty sure if you change the WARNING LEVEL (?) to show E_NOTICES, you'll do this : From php.ini : ; E_NOTICE - run-time notices (these are warnings which often result from a bug in ; your code, but it's possible that it was intentional (e.g., using an ; uninitialized variable and relying on the fact it's automatically ; initialized to an empty string error_reporting = E_ALL .... Siggy ----- Original Message ----- From: "Bob Hall" <bobhall@clark.net> To: <php-windows@lists.php.net> Sent: Sunday, November 19, 2000 5:16 AM Subject: [PHP-WIN] Re: 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 > > No sir. PHP is designed to have loose typing. > > Bob Hall > > Know thyself? Absurd direction! > Bubbles bear no introspection. -Khushhal Khan Khatak > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net > For additional commands, e-mail: php-windows-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.windows (#3974) next »