Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:124726 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 15AD81A00B7 for ; Fri, 2 Aug 2024 20:30:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1722630746; bh=uWs00bRPtA+GDHuTQsZVJPinHxye6PqzWRAgugEjY9g=; h=Date:From:To:Subject:In-Reply-To:References:From; b=YBT/Xk+o/dyxj8fUtjwmKBDtPRMc9ERc5G/twiItazd8Q3SMJR2wwwcYolCLilN+U u8I/ME/Qme+mXlmiEV9Z9hw17TpN9qq6Z+uAlyEPsfygr154YgSQzPHyxhXjQTa1pO VF3GkK/ak862DuLXMgrj9YCiTnYFVCE/sZCfuKfy2N72ZEoZLPVBTSOEOlNC2MZdET VWRrxrUnBqOQWK7tQCI0QIjAvdRqSuo02cEmLLvBqTxHCLGRtqKIrFxVVDYm6hZh0v cy4bnvEfyz8zs7AcyHIzSczHnB4ZhHEo3CKlg8W6GneBLG1J8m0DtDhHFdivfRtM0i uYN6dsx8E3Nkg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 27C1F180071 for ; Fri, 2 Aug 2024 20:32:25 +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.1 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_MISSING,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS,SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from fhigh7-smtp.messagingengine.com (fhigh7-smtp.messagingengine.com [103.168.172.158]) (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, 2 Aug 2024 20:32:24 +0000 (UTC) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 9860B114F7D6 for ; Fri, 2 Aug 2024 16:30:44 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Fri, 02 Aug 2024 16:30:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rwec.co.uk; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1722630644; x=1722717044; bh=uWs00bRPtA+GDHuTQsZVJPinHxye6PqzWRAgugEjY9g=; b= rxDQSyO36nZw8ujx4NIJrof1aiMl939hmK+qTDVtHRmhXbwm43Jdm6tzfTzLZ+gS 7bp5Ov0sD8y5g8DnSedUvptU6bQYKN2GnWSaCn2cRqCgKJZKibx1zbJ02k3aNVJU IiZOOIeyIUZrJ85QrDB1AwSnPzKOT3QpgIpZRf/1Q5orFzsNJ9TLpPwImEV7tOVC NeOa5s7o4LoeYUWxz1kjQjeGkuZhzzCCTikKM1VKhr9/K8hE4Ya1kDK9pnXC6WtN 7qLTjm/hpuYZ2EeK1+e6t4qWfz2IP4OWdjGXwDZtqI+jmgkPBxeGpeecN+QOaYEj d/ud26WlcSuUOOfaUFmZMQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1722630644; x= 1722717044; bh=uWs00bRPtA+GDHuTQsZVJPinHxye6PqzWRAgugEjY9g=; b=Y OZvgZa269gknZ9rPvJnQMhEWb/dELRT1WYUOWIN1PFgkZJbB9IKIX/mOvcljMJX8 mdadYexH290XF/jPPJlI8b1TveKDE0SbmLlTbEgqlwMnPx+N8d4SY0IQVsN3rQ2i n6MeOxlGsuHzGMShVifBwO0pprosOQE33PqxsrrMLKaq2Ii4UrJk3Zq2d5qPYalJ R8NxPp4uR0j2VeuJdGqBcTR270huu7FwCd9gWg/rQ7diSQ0YTjm2lKQcRceDhU5G Mzuo51MWPdmsa6D2tQNuxvIAVD1igDxTOLua04PS7ZgWa1H6VW7NGK+WhYFiD40G c72sFGOMaOy0Gt1m7tptg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrkedtgdduhedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvufgfjghfkfggtgfgsehtqh hmtddtreejnecuhfhrohhmpedftfhofigrnhcuvfhomhhmihhnshculgfkoffuohfrngdf uceoihhmshhophdrphhhphesrhifvggtrdgtohdruhhkqeenucggtffrrghtthgvrhhnpe ejvefhkefhgeejfffhveevueeuueegleetfeegueeifffgudfgheekjeekteefieenucff ohhmrghinhepphhhphdrnhgvthdpvgigthgvrhhnrghlshdrihhonecuvehluhhsthgvrh fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepihhmshhophdrphhhphesrhif vggtrdgtohdruhhkpdhnsggprhgtphhtthhopedt X-ME-Proxy: Feedback-ID: id5114917:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Fri, 2 Aug 2024 16:30:43 -0400 (EDT) Date: Fri, 02 Aug 2024 21:30:42 +0100 To: internals@lists.php.net Subject: =?US-ASCII?Q?Re=3A_=5BPHP-DEV=5D_=5BConcept=5D_Flip_relative_fu?= =?US-ASCII?Q?nction_lookup_order_=28global=2C_then_local=29?= User-Agent: K-9 Mail for Android In-Reply-To: References: <6F2E44FA-4E00-47F9-BD56-5051385E3673@rwec.co.uk> Message-ID: <013965B2-D190-47CB-822D-3123F591B044@rwec.co.uk> Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: imsop.php@rwec.co.uk ("Rowan Tommins [IMSoP]") On Fri, 2024-08-02 at 18:53 +0100, Rowan Tommins [IMSoP] wrote: > There was a proposal for exactly this a few years ago, which ended up > in an RFC with a slightly different syntax (using a declare() > statement), but was declined in voting by 35 votes to 2=2E Sorry, I forgot the link: https://wiki=2Ephp=2Enet/rfc/use_global_elements On 2 August 2024 19:46:03 BST, Nick Lockheart wro= te: >In all likelihood, it was the syntax that was disfavored=2E There was a lot of discussion beforehand about the syntax, and the RFC att= empts to summarise some of it, but skimming through the voting thread I don't think that was what made it fail= =2E The objections seem to be mostly about the general approach, not the de= tails=2E=20 Rowan Tommins [IMSoP]