Req #46684 [Opn->Csd]: Could SimpleXmlElement's constructor be made non-final?

From: Date: Sat, 09 Sep 2023 21:42:11 +0000
Subject: Req #46684 [Opn->Csd]: Could SimpleXmlElement's constructor be made non-final?
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-245372@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=46684&edit=1 ID: 46684 Updated by: nielsdos@php.net Reported by: mjomble at gmail dot com Summary: Could SimpleXmlElement's constructor be made non-final? -Status: Open +Status: Closed Type: Feature/Change Request Package: SimpleXML related Operating System: * PHP Version: 5.3.0alpha2 -Assigned To: +Assigned To: nielsdos Block user comment: N Private report: N New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2008-11-26 10:47:53] 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. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=46684&edit=1

« previous php.bugs (#245372) next »