use strict?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

having spent  several hours and having to redo a load of data because of a
careless typo that i didnt spot, is there a PHP equivalent of the perl

use strict  
to prevent bozos like me wasting time?

Re: use strict?

On Fri, 17 Jun 2005 08:58:18 GMT, p cooper wrote:
Quoted text here. Click to load it

Not exactly, but there's

  error_reporting( E_ALL | E_STRICT );

E_STRICT was added in PHP5. See (and
ini-setting display_errors).

Firefox Web Browser - Rediscover the web - /
Thunderbird E-mail and Newsgroups - /

Site Timeline