RE: [PHP] perl: use strict

2001-03-30 Thread Johnson, Kirk

Sorta, not really. You can turn up the error reporting level so that using a
variable before it is defined will generate a warning. That should get what
you are after. See http://www.php.net/manual/en/function.error-reporting.php
. As usual, be sure to hit the reader comments :)

Kirk

> -Original Message-
> From: Morgan Curley [mailto:[EMAIL PROTECTED]]
> Sent: Friday, March 30, 2001 7:44 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] perl: use strict
> 
> 
> does php have an equivalent to perl's 'use strict' to help 
> catch variable 
> misspellings??

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] perl: use strict

2001-03-30 Thread Morgan Curley

does php have an equivalent to perl's 'use strict' to help catch variable 
misspellings??

Thanks,
Morgan 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]