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 [email protected] to get a copy of this message
2011/8/25 Patrick ALLAERT <[email protected]>:
> 2011/8/25 Gustavo Lopes <[email protected]>:
>> 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.


Thread (23 messages)

« previous php.internals (#54948) next »