--=neXtPaRt_1156518520
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
On Fri, 2006-08-25 at 10:43 -0400, tedd wrote:
> or should I lose the E_STRICT, or should it be something else?
>
E_ALL in php4 will pick up everything, notices, warnings, the lot.
> I want to turn as much erro
tedd schreef:
Jochem:
So, what's the verdict, is this Okay:
ini_set('error_reporting', E_ALL | E_STRICT);
or should I lose the E_STRICT, or should it be something else?
I want to turn as much error checking as I can. I'm not using php 5,
just yet.
Thanks.
tedd
Hi Tedd,
E_STRICT isn
At 4:20 PM +0200 8/25/06, Jochem Maas wrote:
> It isn't redundant :) - E_STRICT isn't covered under E_ALL in PHP5 IIRC.
correct.
E_STRICT is supposed to be used *only* to flag not recommended code
(i.e. a pedantic mode)
unfortunately use of E_STRICT has been 'abused' in cases where
E_DEPREC
Ligaya Turmelle wrote:
> 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
>> (Bul
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('
- 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_reportin
6 matches
Mail list logo