Re: E_ALL | E_STRICT

From: Date: Wed, 23 Aug 2006 23:05:30 +0000
Subject: Re: E_ALL | E_STRICT
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-241068@lists.php.net to get a copy of this message
tedd wrote:
- tul P.S. isn't error_reporting( FATAL | ERROR | WARNING ); supposed to be error_reporting( E_FATAL | E_ERROR | E_WARNING ); ??
Good catch. I'm not sure where I got that -- probably a message from some flounder (Bullwinkle circa 1964). In my newer scripts I use: ini_set('error_reporting', E_ALL | E_STRICT); However, I'm not sure if that's redundant. tedd It isn't redundant :) - E_STRICT isn't covered under E_ALL in PHP5 IIRC.
-- life is a game... so have fun.

« previous php.general (#241068) next »