Re: Why do disabled functions / classes generate a WARNING.

From: Date: Fri, 03 Aug 2012 12:05:35 +0000
Subject: Re: Why do disabled functions / classes generate a WARNING.
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
On Fri, Aug 3, 2012 at 1:59 PM, Leigh <[email protected]> wrote:
>> Because there isn't anything actually wrong.
>>
>> A fatal error is reserved for things we cannot recover from, but a
>> disabled function is easily recoverable.

Another great use-case for engine-thrown exceptions.

IMHO we should really rethink the "let's not throw exceptions from the
engine/normal code so that people don't have to learn them"


-- 
Etienne Kneuss


Thread (14 messages)

« previous php.internals (#62003) next »