Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:125148 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id 3F80D1A00BD for ; Fri, 23 Aug 2024 16:13:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1724429748; bh=RdDOhS009i5iSXk7B03I5Ov2JuxgZhiRLSM5bUEnJfI=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From; b=J+j9+HqMyGx3nCT3h4V5gAHAH2n7ux09gjZoRSh7wTFZjGfR0YO0cnYrJUNhjk01v BxyQFfT0a9pDAxnyUzTJVvZpVcvT38IaTMQqmNHw9/OiQ+OBxwi6almZby4rhZdtJk TB8rqOtgqmdH4e5G5H2PCNwdpWL4VMM+V8DGe1VOQQgFxZAfXgh8tSsO40/+KUl1hz Bkvumq/EtMSYXIVDUa2NrzJHJGXdv3wO9HvtxWQGTV15h3b+mk+OmHYIACXq69iBkv jl//iKqLHArUYnOFFEN16oMSuiws3KmnRclG2DC79pae66qufsh28bch4RuSCOJxBO sV0mXXMLUNPFQ== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 5D7BE180071 for ; Fri, 23 Aug 2024 16:15:47 +0000 (UTC) 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.8 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DMARC_MISSING,HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_NONE autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-ot1-f46.google.com (mail-ot1-f46.google.com [209.85.210.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 ; Fri, 23 Aug 2024 16:15:46 +0000 (UTC) Received: by mail-ot1-f46.google.com with SMTP id 46e09a7af769-7093efbade6so1734909a34.2 for ; Fri, 23 Aug 2024 09:13:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=coggenterprises-com.20230601.gappssmtp.com; s=20230601; t=1724429635; x=1725034435; darn=lists.php.net; h=mime-version:subject:references:in-reply-to:message-id:cc:to:from :date:from:to:cc:subject:date:message-id:reply-to; bh=RdDOhS009i5iSXk7B03I5Ov2JuxgZhiRLSM5bUEnJfI=; b=BTwrC6d00jOjfLibcPGBZnL0wdxhvJI4QBiKsm0X7vgrJ1FTrEMyibAFoO1xyT1Mk4 YEeiXbWd9eROTJzLA9GLS+p40VivfBAcB8r3QmN8RnMT5SmmnQMZYbZjhl2LJ0lkaLU6 5HDCP1z0WremqBO9RP3KWLLOkhM6pygdbnm9F9HEa4kixKKe58cCBOL1ifaHkOPkOmcg aNi1rSQzBA7sMYWkZgmGwG9qviB8G5Vps4GJ3Hu/uZC7WOsv3i90tVteEJWW1XFYMaP4 1hOGg6sVIL80vcpksF+YXL//mqIuECBhL1PcqXPgfPXtaX41H8PGFOdVbqVD/x/VNQly hQLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724429635; x=1725034435; h=mime-version:subject:references:in-reply-to:message-id:cc:to:from :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=RdDOhS009i5iSXk7B03I5Ov2JuxgZhiRLSM5bUEnJfI=; b=GUrmJGoeMi3av9iO7rxhZTx2Hz4jdK+W3dpOrwn/ZJwvhtOVS8e1WEmXpcu7CkGivc xJFeTPwNQn07yw1zyiMRrSAh5VQV8yzXIaQdsg0gliAsBReNIVX6xQI+N93kJ7U3shdk FP/6tLLpEwJcW5y4yPFVIyIw+TeYJ4LUn310YvnH+zcl+DkrwoWujZDTzczh7s2gD/uN cXZHkvxb6DrChnZwbHVFsH6NKekW3VyB1laTH+wb/gZRQRXNF11Nr4+RW5b7V3FB0Zgq hFm8HFNTH44kS0ttT9Qi+NhWS5XxyRFi0TTgiQ4WqsPVFVUejKMypj2r1KN6JhuEOOEU ayeA== X-Gm-Message-State: AOJu0Yz2DnOxFezCaQUlnc1/h5DyOpufocKPDJJguzk0vWWgX+QzLQz1 8pk33nOW9gy+/MftiCq6eSeOUaDnYKc71QGo3zRgwrnJ/JT2NI8VqbrdEwu/LTPFeVkMdgEvoNL T X-Google-Smtp-Source: AGHT+IGH4GRz8gEU96441KEtCN2G2OqM9BiGFCRS965wyzwpFQs3FVH3zURliQjhVyxBUcu2pTi8xg== X-Received: by 2002:a05:6808:ec1:b0:3da:a0a5:a26a with SMTP id 5614622812f47-3de2a86ef63mr2636073b6e.20.1724429634877; Fri, 23 Aug 2024 09:13:54 -0700 (PDT) Received: from Johns-MacBook-Pro-2.local ([207.213.210.67]) by smtp.gmail.com with ESMTPSA id 5614622812f47-3de225555b6sm745586b6e.17.2024.08.23.09.13.53 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Aug 2024 09:13:54 -0700 (PDT) Date: Fri, 23 Aug 2024 12:13:52 -0400 To: =?utf-8?Q?Rowan_Tommins_=5BIMSoP=5D?= Cc: "=?utf-8?Q?internals=40lists.php.net?=" Message-ID: <48F2A153-D33C-47CA-AB0A-67B85258D8E9@getmailspring.com> In-Reply-To: <63DAE337-B117-4380-8735-186DC30FE0B7@rwec.co.uk> References: <63DAE337-B117-4380-8735-186DC30FE0B7@rwec.co.uk> Subject: Re: [PHP-DEV] [Concept] Flip relative function lookup order (global, then local) X-Mailer: Mailspring Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="66c8b540_6b8b4567_15341" From: john@coggeshall.org (John Coggeshall) --66c8b540_6b8b4567_15341 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline On Aug 23 2024, at 11:49 am, Rowan Tommins [IMSoP] wrote: > > And most users don't object to using a leading backslash, they just (quite reasonably) have no idea what impact it has on the ability of the engine to optimise their code. I think this is a misread, and I don't think you can argue that there is a clear understanding of "most users" here. While I admit I too don't have real data to back this up, I would be more likely to believe "most users" would absolutely object to being forced into using a leading backslash and would find it non-sensical that you must add a backslash for the engine to do the "right thing" (in this case, optimize their code with a security benefit), vs just doing the right thing by default. --66c8b540_6b8b4567_15341 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline

On Aug 23 2024, at= 11:49 am, Rowan Tommins =5BIMSoP=5D <imsop.php=40rwec.co.uk> wrote= :

And most users don't object to using a l= eading backslash, they just (quite reasonably) have no idea what impact i= t has on the ability of the engine to optimise their code.

I think this is a misread, and I don't think you = can argue that there is a clear understanding of =22most users=22 here. W= hile I admit I too don't have real data to back this up, I would be more = likely to believe =22most users=22 would absolutely object to being force= d into using a leading backslash and would find it non-sensical that you = must add a backslash for the engine to do the =22right thing=22 (in this = case, optimize their code with a security benefit), vs just doing the rig= ht thing by default.

--66c8b540_6b8b4567_15341--