RE: [PHP] Is there an RTFM for 'use strict' ?

From: Date: Mon, 23 Jun 2003 13:57:52 +0000
Subject: RE: [PHP] Is there an RTFM for 'use strict' ?
Groups: php.general 
Request: Send a blank email to php-general+get-152497@lists.php.net to get a copy of this message
[snip] 'use strict;' directive [/snip] One thing you can do is error_reporting(E_ALL); (see http://www.php.net/errorfunc ) but there is nothing really that operates the way 'use strict' does. However, if you have an undefined variable this will give it back to you if it does not contain a value (say you have a variable named $vdog and you mis-typed it as $vgod). You may also want to consider 'define' at http://www.php.net/define....but again, it is not the same as 'use strict'. HTH! Jay

« previous php.general (#152497) next »