php.net |  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
Votes:3
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
 [2008-11-26 10:47 UTC] mjomble at gmail dot com
Description:
------------
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.


Patches

Pull Requests

History

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

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 Dec 26 13:01:30 2024 UTC