Re: [RFC] Throwable Interface

From: Date: Wed, 10 Jun 2015 23:13:29 +0000
Subject: Re: [RFC] Throwable Interface
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to internals+get-86582@lists.php.net to get a copy of this message
>> some non-fatals were converted (TypeException) > > > There was no equivalent to TypeException in previous versions of PHP, so in > what sense has it been "converted"? Maybe I'm being thick and there's a > situation that has been, but the only type-related error I know of was > type-hinting classes, which were fatal. When an argument was provided that did not fulfill the parameter's type requirement an E_RECOVERABLE was emitted. This meant that the error handler was triggered. Now it will not be triggered, nor will it get caught by catch (Exception).

« previous php.internals (#86582) next »