Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:124723 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 7942F1A00B7 for ; Fri, 2 Aug 2024 17:53:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1722621333; bh=fsZnd/Fvwu+imdzjXIEJrtfaGvQVPd6NifwXiEvt3oE=; h=Date:From:To:Subject:In-Reply-To:References:From; b=V5b3jx+s6E7AV8DwvY5WwwmZPk9QuznXvplNrNMnZPr5eE1XGkHv7E5mfPqy/4vS8 1KUn5i+HwyXq/ZTe8I+3xL9xfSuCPKEvfsN1vBiSiRGVAwpBrmKW6RGKpaILwOBSBe NfAqonfQaGGklsS7q5AuGSn9iUW4CyUnMKoCVsfYMcihD0pE58uTv/b+vlcJcG3ryW V6L8bDY7XUAePO5yDih5ghNUKhqSS/fAXm7YE0KFj/yjB4ZVBFVHNPQTHSRGMUs6Xb 1doqrOfRW+IhZBAEB8fhOkNUw3gfedYl20BC7VJL1+hXYXZXBBZpihrwWXsz1DKQeW goS4+ZtFKsxsQ== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id C779B180051 for ; Fri, 2 Aug 2024 17:55:32 +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, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from fout1-smtp.messagingengine.com (fout1-smtp.messagingengine.com [103.168.172.144]) (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 17:55:32 +0000 (UTC) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailfout.nyi.internal (Postfix) with ESMTP id 98B8313876A6 for ; Fri, 2 Aug 2024 13:53:52 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Fri, 02 Aug 2024 13:53:52 -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=1722621232; x=1722707632; bh=fsZnd/Fvwu+imdzjXIEJrtfaGvQVPd6NifwXiEvt3oE=; b= uOgI9Xn7JWaJLZHUBTP0wPfx07b12UHQQD1A80R7bt/yp2EZNxVMQPHN31+fDS6r vmB3DUqubFsDIXV4G4+VhZUt8XcDnAf7iFjSpWhrN4lyzMfm2fvLaZuTFbbfZZk0 ct8AQWKDJFnzoJiUPlxdj1Yb0zSP9E5p5wUCIOKxOt/eYO+UsYDRY+SG6CF/kH/e 8hTsUzJ6q5ApVVBHDwRa9ljvhEl76d7u3PhAHojLGQXtHlMYZhbUK+E2eDBVR8Gm EQTPX3lk/ye9VYpqaO+LG377Hvhww5tFyjdPlRyPapKRaRhPZQP4j8TKAt+ZYlsI rNsqti3jriWuOUtfaIMhSQ== 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=1722621232; x= 1722707632; bh=fsZnd/Fvwu+imdzjXIEJrtfaGvQVPd6NifwXiEvt3oE=; b=d KEcs4QGlcQU0UnaLY0cQKrNmGvFVYo+OtWMpKO8gIpLf/uXYL7H+4UoEdLVQ7g9A V2pqsb6Ftw+LgadhAwiZQtzQTqu9U6u3QDJYKgyBqZHegV/8Js14M6nTazK5Ysy0 O37iI9mT5BTjKZ8MuiE/4GGurjcfrLMMEnJJQcoXxBQWbiHB5vv7nJTlzgwuhif3 S42yBn9zv29YH3HQtJpHfamlFsY1597XydRq3aGJBxwynnFE6HUDwcPVbepYtyxf 7yMLICah/MTc3BSdsCcIWDFZnKj5lyYcB4GD1ZsP2iut1kbf3mIkHv5JQ0jf6VHc bypIPjpiX+k9cNtM7pFpw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrkedtgdduudejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvufgfjghfkfggtgfgsehtqh hmtddtreejnecuhfhrohhmpedftfhofigrnhcuvfhomhhmihhnshculgfkoffuohfrngdf uceoihhmshhophdrphhhphesrhifvggtrdgtohdruhhkqeenucggtffrrghtthgvrhhnpe ehleffteeigfevudetfedugedtudevledugeeugeelheeihfehgfdtkeevvefgleenucev lhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehimhhsohhprd hphhhpsehrfigvtgdrtghordhukhdpnhgspghrtghpthhtoheptd X-ME-Proxy: Feedback-ID: id5114917:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Fri, 2 Aug 2024 13:53:51 -0400 (EDT) Date: Fri, 02 Aug 2024 18:53:50 +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: Message-ID: <6F2E44FA-4E00-47F9-BD56-5051385E3673@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 2 August 2024 18:19:41 BST, Nick Lockheart wro= te: >I had suggested a per-file directive in a post to this list a while >back=2E Something like: > >namespace foo; >use global functions; There was a proposal for exactly this a few years ago, which ended up in a= n RFC with a slightly different syntax (using a declare() statement), but w= as declined in voting by 35 votes to 2=2E I can't remember much about the discussion, so am not sure what changes wo= uld make a new attempt more likely to pass=2E Regards, Rowan Tommins [IMSoP]