Re: ReflectionClass::newInstanceWithoutConstructor()
From: Sebastian Bergmann Date: Thu, 25 Aug 2011 12:49:01 +0000 Subject: Re: ReflectionClass::newInstanceWithoutConstructor() References: 1 2 3 4 Groups: php.internals Request: Send a blank email to [email protected] to get a copy of this message
On 08/25/2011 02:47 PM, Kalle Sommer Nielsen wrote:Speaking of which, wouldn't it be easier to check all our internal classes for such failures and fix them accordingly with this addition (Fix the dont-crash-without-calling-constructor)? We could do like that of above and cast an exception instead of E_RECOVERABLE_ERROR (as I believe is being cast now) in 5.4.Makes sense to me. -- Sebastian Bergmann Co-Founder and Principal Consultant http://sebastian-bergmann.de/ http://thePHP.cc/
Thread (23 messages)
« previous | php.internals (#54936) | next » |
---|