RE: [PHP] perl: use strict
| From: | Johnson, Kirk | Date: | Fri, 30 Mar 2001 15:23:09 +0000 |
| Subject: | RE: [PHP] perl: use strict | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-46334@lists.php.net to get a copy of this message | ||
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:mcurley@e4media.com]
> Sent: Friday, March 30, 2001 7:44 AM
> To: php-general@lists.php.net
> Subject: [PHP] perl: use strict
>
>
> does php have an equivalent to perl's 'use strict' to help
> catch variable
> misspellings??