Re: Pre-RFC: Fixing spec bugs in the DOM extension

From: Date: Tue, 26 Dec 2023 22:13:59 +0000
Subject: Re: Pre-RFC: Fixing spec bugs in the DOM extension
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-122050@lists.php.net to get a copy of this message
Hi Tim On 26/12/2023 22:58, Tim Düsterhus wrote: > Hi > > On 12/26/23 22:45, Niels Dossche wrote: >> In my opinion, having them become proper classes instead of aliases has my preference: >> either we fix everything in one go now while we have the opportunity, or never. > > As I've already told you in private, I'm in favor of using this opportunity. > >> Let me know what you think, especially regarding the type issues. >> > > Will the classes be made final if they are no longer aliases? > That should (hopefully) make similar changes somewhat easier in the future. I've been thinking about that as well, but I'm not sure. We still have the registerNodeClass() feature, and I've seen people ask to bring this even further to allow custom Element classes (e.g. MyHTMLScriptElement etc). I'd like to hear from more people on this matter. > > Best regards > Tim Düsterhus Kind regards Niels

« previous php.internals (#122050) next »