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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: levim@php.net
New email:
PHP Version: OS:

 

 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Tue May 07 16:01:35 2024 UTC