|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #46684 Could SimpleXmlElement's constructor be made non-final?
Submitted: 2008-11-26 10:47 UTC Modified: 2023-09-09 21:42 UTC
Avg. Score:4.7 ± 0.5
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:0 (0.0%)
From: mjomble at gmail dot com Assigned: nielsdos (profile)
Status: Closed Package: SimpleXML related
PHP Version: 5.3.0alpha2 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.
Block user comment
Status: Assign to:
Bug Type:
From: mjomble at gmail dot com
New email:
PHP Version: OS:


 [2008-11-26 10:47 UTC] mjomble at gmail dot com
Why was the constructor made final in the first place? If there's a good reason for this, I'd like to find out.

Otherwise, it would be useful if the SimpleXmlElement class could be properly extended.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-01-23 21:26 UTC]
-Package: Feature/Change Request +Package: SimpleXML related
 [2011-01-23 21:26 UTC]
-Operating System: Irrelevant +Operating System: *
 [2023-09-09 21:42 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: nielsdos
 [2023-09-09 21:42 UTC]
Thank you for your bug report. This issue has already been fixed
in the latest released version of PHP, which you can download at

I don't know when this was changed, but in all current supported versions it's possible to extend the class. I'm closing this to clean up old bug reports.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Jun 20 19:01:30 2024 UTC