Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:122050 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 62762 invoked from network); 26 Dec 2023 22:14:02 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 26 Dec 2023 22:14:02 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 01CEE180056 for ; Tue, 26 Dec 2023 14:14:28 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Tue, 26 Dec 2023 14:14:27 -0800 (PST) Received: by mail-wr1-f46.google.com with SMTP id ffacd0b85a97d-336c5b5c163so769658f8f.1 for ; Tue, 26 Dec 2023 14:14:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703628840; x=1704233640; darn=lists.php.net; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=hOjoP8rP1VL4JzjEJRFAZc9HtyX22EwuaN2znq8Prn8=; b=CLXwA8qKD6viZcr8uOhte01L14OyBCvmjtBXsFfU2P3rZGLphhlnecmiMR9rrgptqv KMBDbjn74NPAJ0/S74CD8F5AXGvrVF0sGOTNt5HP9cMvsRFJE+9x57hBOnH/MaGO0IlD INuOHt5XoTgsGQ/oN0FHKvWME/jdVQInoUKRuvB/mGGI4SIa1eNT2eC9QMhkGwWocLoz MOU6rHzgUyzjolmjTngMpU2+m51hXC8qEtY1bk8hyAn4+wbpEDG+iqCnMmpfqNxW8Vv8 lEe87kH/poVpKavnORu8mpL3oigyynLefr1z5GPXG9vDAXxTowUKw/iCBxkGmcBUdOBR UP+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703628840; x=1704233640; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=hOjoP8rP1VL4JzjEJRFAZc9HtyX22EwuaN2znq8Prn8=; b=qjrELhIefBk+shH9gGBuGNlnypAxe/qzS4FdygJzVU6RDCBA19mNrDZ1fqEy/OoSAB 9xqPMxWYXJZMnpNcdWOf4LnqCoSN2uw8eNeA8xNV/s6B7NHq7lsscxzyEXryPuOIFIO8 SorHaOwQTemL1HguRpKrJVNBCOCK2fThTrFD8XXzrYLpmQTbCO17/q3kLGqlf/QF0w3O 7H3/zZfHXj9hws/LfSnWlgiFjcN5rpjovfqKa1L3UMzoWBwza0/AXLn0X7ALbVCirMAC m6LBpPm/Gdr/3yXlO1WRGgKhwgVjOIQdsGZP9nEJlq1gCxGbOHmTdwFsKuXci9OLsft0 Umtw== X-Gm-Message-State: AOJu0YxSYSqxlUI72TJKelHXmMCWkShFcvrGzSQBEJawnQAD3lH/VLXG aZfI5ujXFP703UTCkyCfRLdBM5tNNvg= X-Google-Smtp-Source: AGHT+IFZ880u7ryKpX02m/vTeuhVYWIuf1FW8e6cT40sxcFHqSHQ+1G7hfzJf5D6CvvHIxNhSlvH7A== X-Received: by 2002:adf:f48d:0:b0:336:7c62:9c2 with SMTP id l13-20020adff48d000000b003367c6209c2mr3858381wro.41.1703628840290; Tue, 26 Dec 2023 14:14:00 -0800 (PST) Received: from ?IPV6:2a02:1811:cc83:ee30:8e76:2662:766d:ebaa? (ptr-dtfv04vjm7u23t23d7u.18120a2.ip6.access.telenet.be. [2a02:1811:cc83:ee30:8e76:2662:766d:ebaa]) by smtp.gmail.com with ESMTPSA id m19-20020adfa3d3000000b00336aac53e75sm8477349wrb.97.2023.12.26.14.14.00 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 26 Dec 2023 14:14:00 -0800 (PST) Message-ID: <64e23177-e5c4-4897-b5f1-9d5111f7ab1e@gmail.com> Date: Tue, 26 Dec 2023 23:13:59 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: PHP internals References: <756bcf2b-f98d-4203-9004-1cbfd402337a@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] Pre-RFC: Fixing spec bugs in the DOM extension From: dossche.niels@gmail.com (Niels Dossche) 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