php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #69448 ReflectionClass::newInstanceWithoutConstructor on internal class issue
Submitted: 2015-04-14 15:42 UTC Modified: 2015-04-14 15:42 UTC
From: levim@php.net Assigned: levim (profile)
Status: Closed Package: Reflection related
PHP Version: master-Git-2015-04-14 (Git) OS:
Private report: No CVE-ID: None
 [2015-04-14 15:42 UTC] 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.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-04-14 15:42 UTC] levim@php.net
-Assigned To: +Assigned To: levim
 [2015-04-14 15:46 UTC] levim@php.net
Automatic comment on behalf of levim
Revision: http://git.php.net/?p=php-src.git;a=commit;h=dad622bf42eaba151a2558f0d59b3a06e1a444b9
Log: Fix bug #69448
 [2015-04-14 15:46 UTC] levim@php.net
-Status: Assigned +Status: Closed
 [2016-07-20 11:39 UTC] davey@php.net
Automatic comment on behalf of levim
Revision: http://git.php.net/?p=php-src.git;a=commit;h=dad622bf42eaba151a2558f0d59b3a06e1a444b9
Log: Fix bug #69448
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 01 18:01:35 2025 UTC