This is a discussion on use strict? within the PHP Language forums, part of the PHP Programming Forums category; having spent several hours and having to redo a load of data because of a careless typo that i didnt ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On Fri, 17 Jun 2005 08:58:18 GMT, p cooper wrote:
> is there a PHP equivalent of the perl > use strict > to prevent bozos like me wasting time? Not exactly, but there's error_reporting( E_ALL | E_STRICT ); E_STRICT was added in PHP5. See http://php.net/error-reporting (and ini-setting display_errors). -- Firefox Web Browser - Rediscover the web - http://getffox.com/ Thunderbird E-mail and Newsgroups - http://gettbird.com/ |