Re: ReflectionClass::newInstanceWithoutConstructor()

From: Date: Thu, 25 Aug 2011 16:18:40 +0000
Subject: Re: ReflectionClass::newInstanceWithoutConstructor()
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-54948@lists.php.net to get a copy of this message
2011/8/25 Patrick ALLAERT <patrickallaert@php.net>: > 2011/8/25 Gustavo Lopes <glopes@nebm.ist.utl.pt>: >> You could fetch the parent and do the same check, and so on. > > Checking only the topmost should be enough if traversing the whole > inheritance could be avoided. Well, of course I highly second the opinion that not making distinction and fixing possible bugs in internal classes is a much better approach.

« previous php.internals (#54948) next »