php.ini-dist

php.internals

Kenneth Schwartz

22 years ago
php.ini-dist in HEAD has the following value: error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT It's odd that E_STRICT is explicitly excluded as E_ALL does not include it. Is there a purpose to it? Perhaps it's something I don't know about ;) Kenneth

Derick Rethans

22 years ago
On Mon, 19 Apr 2004, Kenneth Schwartz wrote:
> php.ini-dist in HEAD has the following value: > > error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT > > It's odd that E_STRICT is explicitly excluded as E_ALL does not include > it. Is there a purpose to it? Perhaps it's something I don't know > about ;)
Needs fixing, the & ~E_STRICT part should go out. Derick

Marcus Börger

22 years ago
Hello Derick, i think we should leave it in because we might remove it from E_ALL in later php versions. marcus Monday, April 19, 2004, 12:46:44 PM, you wrote:
> On Mon, 19 Apr 2004, Kenneth Schwartz wrote:
>> php.ini-dist in HEAD has the following value: >> >> error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT >> >> It's odd that E_STRICT is explicitly excluded as E_ALL does not include >> it. Is there a purpose to it? Perhaps it's something I don't know >> about ;)
> Needs fixing, the & ~E_STRICT part should go out.
> Derick
-- Best regards, Marcus mailto:helly@php.net

Derick Rethans

22 years ago
On Mon, 19 Apr 2004, Marcus Boerger wrote:
> i think we should leave it in because we might remove it from E_ALL in later > php versions.
Uh? E_STRICT is not part of E_ALL, but in case you meant it the other way around I agree, let's leave it there :) Derick

Marcus Börger

22 years ago
> Hello Derick,
> i think we should leave it in because we might remove it from E_ALL in later > php versions.
Erm i meant we may add E_STRICT to E_ALL in a later version.
> marcus
> Monday, April 19, 2004, 12:46:44 PM, you wrote:
>> On Mon, 19 Apr 2004, Kenneth Schwartz wrote:
>>> php.ini-dist in HEAD has the following value: >>> >>> error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT >>> >>> It's odd that E_STRICT is explicitly excluded as E_ALL does not include >>> it. Is there a purpose to it? Perhaps it's something I don't know >>> about ;)
>> Needs fixing, the & ~E_STRICT part should go out.
>> Derick
> -- > Best regards, > Marcus mailto:helly@php.net
-- Best regards, Marcus mailto:helly@php.net

Christian Schneider

22 years ago
Marcus Boerger wrote:
> Erm i meant we may add E_STRICT to E_ALL in a later version.
... which would be a big BC break. Remember that 'var' produces a warning under E_STRICT. And 'var' is here to stay for a *long* time. - Chris

Marcus Börger

22 years ago
Hello Christian, then obviously E_STRICT must stay out of E_ALL for long time. Still explicitly showing there's more is a good thing. Maybe some text near the setting would be good. marcus Monday, April 19, 2004, 11:29:07 PM, you wrote:
> Marcus Boerger wrote: >> Erm i meant we may add E_STRICT to E_ALL in a later version.
> ... which would be a big BC break. Remember that 'var' produces a > warning under E_STRICT. And 'var' is here to stay for a *long* time.
> - Chris
-- Best regards, Marcus mailto:helly@php.net

Andi Gutmans

22 years ago
I guess it's just verbosity. At 06:30 AM 4/19/2004 -0400, Kenneth Schwartz wrote: