Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:124745 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 B64D91A00B7 for ; Sun, 4 Aug 2024 18:04:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1722794769; bh=QliiyIebEgoUykFTyFZ2h6D9ei7iTZAJBcqBVLRXmS4=; h=Subject:From:To:Date:In-Reply-To:References:From; b=Pp5eachyIv7kJ5UuGHA+pyhBDdBVwAJTPEJET97JzjX6b1rAqWrNZk4WwK94/H+eC JasYMLr+Onpx+1WjfEG5u7/qg04NMcPy0Q7v1a1sLyj6A6oD7HlQOj2ZQJ8HER/pix pHhjoZyjiBxCJGxgaV34RClapAH5MOpUXLpSD6JEyasok9xcpAmZ01hxNep6D5gDUH t5qRTlrh/OQNwGW2651/DljKw5dDGS++3/Flx+t/9nI5mV6Wrsw5QkDqIEJoVDp07w vppmUM/72I6sOKDxwR+0dD7vzF3yDELecWyhTwm0IV0GaSjn9fJSh7jzVFFKpLkGda idpwMK2YN10fQ== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 3E64F1801E1 for ; Sun, 4 Aug 2024 18:06:07 +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.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,SPF_HELO_PASS, SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from ageofdream.com (ageofdream.com [45.33.21.21]) (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 ; Sun, 4 Aug 2024 18:06:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ageofdream.com; s=ageofdream; t=1722794663; bh=QliiyIebEgoUykFTyFZ2h6D9ei7iTZAJBcqBVLRXmS4=; h=Subject:From:To:Date:In-Reply-To:References:From; b=iCdi2MTo6Cz5AeAYSliA7UBls0NB8TBn8r/sq0fZwjDnr3TGWqqC5M+sQ/p/GY5+o aEVByjWavQNEBo26wNMdEAZWPdMZORx/QW6ZJkzQiLemgoIrm+vGLt5alLNQzQCkR1 YjbcUFr1rP/o0x/t6RW14SK0adM+VYpGS67Qx4b5ugJwSEmFxoIdKDtJTar1rsYxIU nvGOoCN+iscm4+i6bBXM9RpbZ2SRC4bsjAWoitLnbQ7g/lChXFt1a3ZzrAvxG2uc0K Fgoolxj1Ypmkg5VxfEBC/0ot4id4Emd8F0N0nETMdHzcdv+ZQ/mAoXXq7w3Cf2OvaM v8NFblFoEbqGw== Received: from [192.168.1.7] (unknown [72.255.193.122]) by ageofdream.com (Postfix) with ESMTPSA id 6D71E27985; Sun, 4 Aug 2024 14:04:23 -0400 (EDT) Message-ID: <36129ec6c439bdf3b1f882da89a2fd3a5249889a.camel@ageofdream.com> Subject: Re: [PHP-DEV] [RFC] Add Directive to Make All Namespaced Function CallsGlobal To: "Christoph M. Becker" , internals@lists.php.net Date: Sun, 04 Aug 2024 14:04:22 -0400 In-Reply-To: <332927b9-8caf-4139-9e03-0ab267500745@gmx.de> References: <332927b9-8caf-4139-9e03-0ab267500745@gmx.de> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4-2 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 From: lists@ageofdream.com (Nick Lockheart) On Sun, 2024-08-04 at 20:02 +0200, Christoph M. Becker wrote: > On 04.08.2024 at 15:09, Nick Lockheart wrote: >=20 > > To that end, I have created the following RFC: > >=20 > > https://wiki.php.net/rfc/global_function_parser_directive > > I am asking that we discuss and vote on the following question: > >=20 > > =E2=80=9CShould there be some way for developers to signal to the parse= r at > > compile time that all unqualified function names found in a > > namespace > > context are global, without a namespace lookup?=E2=80=9D > >=20 > > Yes: We should do this, let's discuss syntax possibilities. > >=20 > > No: This should not be a feature at all. >=20 > Thanks for the PR! >=20 > However, it seems to me that the "syntax possibilites" are an > important > part of the vote.=C2=A0 Maybe all will agree that having that option is > good, > but there still might not even be consensus on the "syntax". >=20 > Maybe just some straw poll to gauge interest in the general feature > would be more appropriate? >=20 > Christoph >=20 That's exactly what this is: a straw poll on the feature itself.