On 08/25/2011 02:39 PM, Etienne Kneuss wrote:
To me this feature makes no sense. But if people find use for it and
it remains in Reflection, I won't object to it, so +0.
It should only be used for meta programming, of course ;-)
If an internal class can't behave well without a constructor call,
that should already be fixed/prevented, as it's already possible by
extending it.
I second that emotion but as long as those internal classes are not
fixed I think it makes sense to disallow creating objects of internal
classes without invoking their constructor.
--
Sebastian Bergmann Co-Founder and Principal Consultant
http://sebastian-bergmann.de/
http://thePHP.cc/