Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:109962 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 74784 invoked from network); 2 May 2020 11:16:56 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 2 May 2020 11:16:56 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 1AAD11804E3 for ; Sat, 2 May 2020 02:51:03 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Sat, 2 May 2020 02:51:02 -0700 (PDT) Received: by mail-wm1-f42.google.com with SMTP id e26so2645226wmk.5 for ; Sat, 02 May 2020 02:51:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:user-agent:in-reply-to:references:mime-version :content-transfer-encoding:subject:to:from:message-id; bh=K0869Fhk8SFMZSZ5gESkxX1aYygQhVfVFSY7tORvQ84=; b=vP+sC8RBvKMK0nLEL9VQY1tILwjpjhC1DEV2Gk8MV4wh47D19KEy3BD6ZkzNZyxNbd 7iNJLD6U8lveJ6G8YfPNJ494YVuh151BJ63+sr7BgbHH1sfBEKZ68xAKK5wUE0flL89O PtDTJq9bgH0NTbQ08ErMhEZEjYGAkm62z3lwDEfB2WhqE8FNsL/KEngX1VoLx6JY46zr 9A+HNG3OWBwTG5o/KUGxjDO7vCE2Pbnxe23fFzVphbyIIVYxqlBsSrPVzAvZJrnCDqGR C+WMf7m6cSvMN7mCx1BLza/Z/Y8cJawjrlfMyewyufKITpI2RYS1T0RaFiaYCgCPTblj iwnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:user-agent:in-reply-to:references :mime-version:content-transfer-encoding:subject:to:from:message-id; bh=K0869Fhk8SFMZSZ5gESkxX1aYygQhVfVFSY7tORvQ84=; b=DGIyL8dzQFB8JepISNVmKSlffeVf2xJs9EPIZ+YMIQQUoH80/Cmj8uEG7N+t17Ijj/ FS4qPzSj4nvkSayg6hwN5MHpYCkfRBcHc6TijE6XAse/3HUX+Ci2q/y7Cw8BKyujtlHy 1QnnwQ1Bk2cCoXCr2NyDCDYm5P/tzL7H4RH6xoPXTnxrXo5TQpP/S//wvmzWOF3FY1Uu guySS3B2sWfbxNGkRE8xPqv0fMI6mbw164dtj7rqHJc6oaZuBu++Gd9VFVJimfmyr3Hj CsUJnrhCMrL3y+MupRL+o2Pow0/4oj0IGCI+B3wucAySVv52Sawbf/me+Ro0UpczCNAC 6cWA== X-Gm-Message-State: AGi0PualPht442oV3IptcQjETZPvINGJplIntou4emSfYOR/XR7mI8cW 9yQXORMuRtm9tTSdqPd7yfQhitW0 X-Google-Smtp-Source: APiQypJJdlrGdecjr8+l1Z9eF0zp/7RB8CxZqkR3iSVU4BPp9XcUDF68wpEJM3cTz94b/gafsxCcmg== X-Received: by 2002:a7b:c14b:: with SMTP id z11mr3790891wmi.44.1588413061112; Sat, 02 May 2020 02:51:01 -0700 (PDT) Received: from [192.168.0.12] (cpc84253-brig22-2-0-cust114.3-3.cable.virginm.net. [81.108.141.115]) by smtp.gmail.com with ESMTPSA id 185sm3998000wmc.32.2020.05.02.02.51.00 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 02 May 2020 02:51:00 -0700 (PDT) Date: Sat, 02 May 2020 10:51:00 +0100 User-Agent: K-9 Mail for Android In-Reply-To: References: <4063585.LhOdPkFbeG@mcmic-probook> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable To: internals@lists.php.net Message-ID: <7A8FFA83-C713-4D3D-8630-EBA4BA76142A@gmail.com> Subject: Re: [PHP-DEV] Renaming PhpAttribute to Attribute From: rowan.collins@gmail.com (Rowan Tommins) On 2 May 2020 08:23:14 BST, Davey Shafik wrote: >IMO, the onus of proof should be on those wishing to introduce a change >that has a potential conflict, not those trying to prevent one=2E While I totally understand the principle here, it does lead to two questio= ns: 1) What evidence would you accept that this change was safe? I published m= y findings from looking through 200 search results here: https://externals= =2Eio/message/109880#109927 Is that enough for you to draw a conclusion one= way or another? 2) Why now? Why is this particular class's introduction facing a higher hu= rdle than anything previously? Is it that previous introductions were "obvi= ously" safe enough (I certainly wouldn't put "Error" in that category)? Or = perhaps previous introductions did cause people problems, and we need to ch= ange policy to avoid repeating those? > I believe that using the PHP namespace is the right way to go I'm inclined to agree, as a general policy, but I wouldn't want to see Php= \Attrtibute introduced without two things: - an agreed definition of which classes are expected to be added to the na= mespace (e=2Eg=2E core language features vs extension functionality) - a plan to rename those existing classes that clearly meet the definition= - probably things like Error, Closure, and Generator Otherwise, it just becomes one more inconsistency for users to remember ("= X was added in 8=2E1, so it needs a use statement, but Y is older, so doesn= 't")=2E Regards, --=20 Rowan Tommins [IMSoP]