On Thu, 25 Aug 2011 10:46:21 +0100, Sebastian Bergmann <sebast...@php.net> wrote:

  I have attached a patch to https://bugs.php.net/bug.php?id=55490 that
implements ReflectionClass::newInstanceWithoutConstructor() to create an
  object a class without invoking the constructor.

  As there are certain internal classes that would "crash" when their
  constructor is not invoked, this new method of the Reflection API only
  works for userland-defined classes.


What about userland classes that extend internal classes?

--
Gustavo Lopes

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to