Bug #69448 [Asn->Csd]: ReflectionClass::newInstanceWithoutConstructor on internal class issue

From: Date: Tue, 14 Apr 2015 15:46:56 +0000
Subject: Bug #69448 [Asn->Csd]: ReflectionClass::newInstanceWithoutConstructor on internal class issue
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-192054@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=69448&edit=1 ID: 69448 Updated by: levim@php.net Reported by: levim@php.net Summary: ReflectionClass::newInstanceWithoutConstructor on internal class issue -Status: Assigned +Status: Closed Type: Bug Package: Reflection related PHP Version: master-Git-2015-04-14 (Git) Assigned To: levim Block user comment: N Private report: N New Comment: Automatic comment on behalf of levim Revision: http://git.php.net/?p=php-src.git;a=commit;h=dad622bf42eaba151a2558f0d59b3a06e1a444b9 Log: Fix bug #69448 Previous Comments: ------------------------------------------------------------------------ [2015-04-14 15:42:16] levim@php.net Description: ------------ ReflectionClass::newInstanceWithoutConstructor still calls object_init_ex when the class is internal and final. The exception is still thrown so user's can't do anything with this, but for some classes the dtor will error because the object's constructor wasn't called. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=69448&edit=1

« previous php.bugs (#192054) next »