Re: ReflectionClass::newInstanceWithoutConstructor()

From: Date: Thu, 25 Aug 2011 14:03:34 +0000
Subject: Re: ReflectionClass::newInstanceWithoutConstructor()
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-54944@lists.php.net to get a copy of this message
Thanks for working on this Sebastian, its really appreciated! +1 from me! On Thu, Aug 25, 2011 at 3:27 PM, Sebastian Bergmann <sebastian@php.net>wrote: > On 08/25/2011 02:54 PM, Gustavo Lopes wrote: > >> You could fetch the parent and do the same check, and so on. I think you >> might be able to just check whether ce.create_object is not NULL, because >> if the internal class doesn't replace create_object, there's no chance of >> that class of crashes occurring; plus, they're propagated to the >> subclasses. >> > > I updated the patch accordingly. Thanks! > > > -- > Sebastian Bergmann Co-Founder and Principal Consultant > http://sebastian-bergmann.de/ > http://thePHP.cc/ > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.internals (#54944) next »