Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:124744 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 4FAEE1A00B7 for ; Sun, 4 Aug 2024 18:02:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1722794665; bh=iZxDUGuBpyxto5E5VA8xGnLVWM9Jc1Bmt7rZMmXWbpw=; h=Date:Subject:To:References:From:In-Reply-To:From; b=bkImZjuJZ2k/IslDj8xECkMI+tAnCC7gfACK8pS3R+FqyJf5FvhyoijLquDrjF/tf e7Dn2A3snyxzQCv8EeE/g7giN8Ni2OtiadtS2KpYEgZuRtVkXHkUTxVPtKI8amNEgh qsugwsTGZYJ2z2NDLGSrN7QvFHZIER2EzI0EmNuoCp4g2hUN5TX6VSQMaOGAdLhY3a a1NPleyJUrrcKCYdNwL6ewNqQso/aYX1VrLTTfo0Xk0GVZNzVjF7+8JY6dqQ0Lz41u FndvH3gavIZeTdEQi+0RAunywwG29vG20NFJb50Dg98rzB5I41Fy/IHWJBIT8rNtWi qvykSKgTJA6WQ== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id D97591801DB for ; Sun, 4 Aug 2024 18:04:24 +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.2 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) 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:04:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1722794559; x=1723399359; i=cmbecker69@gmx.de; bh=UDsQHNLgI8ZlgwC1qRiahE5rm6HaBP1QJR79pDms2l8=; h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:Subject:To: References:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=rbPUq3eLiCYnTRrmhkJVU8wcXFwZS1besg1n1O+LGuk1NH1kMAwpyws8kY0T36wW zUH1zhSYnrPH8IGTs+UDXCYwBg/qXJrKf2KPy6Qg73VJkQKi9GHOpTkIeJ/x29h16 1GErLoyo6htaO5FlbIh91HW2mFSrL80kSvenhEuRLiMx6igAXeK80SSxZWrkg8cM0 b40j7BuO1HCUGKWwvCedOW839ru/8eYNRvvjWn1WupExdlEgmz7pgnrWFWnIMGM6o /K5OldIKtA/2WYQQnebQwzlcDhY3adwH86h8CIQ8v77ek6hN6VpEW4v6luEbs/EJv 8CfJcOTWjpGVij8vKw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [192.168.2.130] ([79.251.205.37]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MBDj4-1sO46D1lAE-007CYL; Sun, 04 Aug 2024 20:02:39 +0200 Message-ID: <332927b9-8caf-4139-9e03-0ab267500745@gmx.de> Date: Sun, 4 Aug 2024 20:02:38 +0200 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PHP-DEV] [RFC] Add Directive to Make All Namespaced Function CallsGlobal Content-Language: de-DE To: Nick Lockheart , internals@lists.php.net References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:w087H2uiM+mBxUhEEgrF6LkOT0QYCqRDJaM0TRAu8RJYMPZbQf6 0/pPSH1eEuSFUKxJaCnoexbDDh9FPd2PtI5dFS1PaBKDUjY5RgKzRZAm+g9LnDwxJp517X8 JiC1jMI5omyHc4h5PQ78/g5KDXZzDxtBbtLob43hzNc2XGYwv2KFuHsvfQsjrYZW0zOh3yU xYYvnUDCTfau+8jVID9Ag== UI-OutboundReport: notjunk:1;M01:P0:RLAptzE7C/Y=;j7m1IutNcHBvHMwBziluv9sbm6U lGNXSaowA4sSo+3Okhn1/r5mAwgJZf7zTgTHQvq71d4ZD8vO8q0AzeEiklQhf1RrySiZsSPby UUU7lr75vioedy+A7DcH35xbrP7gVmwGdV51t3P1tAM8Qt5JG42TJ4e0rnJieBE7+YmkEgSwq NaHpD2O2UVLKSuX8PVZjPM6kWBAmEs7OmFzIRBGk/UP4J5+C0jsqqNU0cwb2ydFx/w5f0LZ0L f5MqmSlM5yemSm1ywZIbp0vEkwpG5N88E+Xn/5kGLnxxTScHj2i6R06ooqOk63vkjbKagQmbf Gc+G4wxjj8vExfICXHQazLNixffWvlfzGaWLi3Um2YyoPgJroBpVE+ec4KBXc0Xa3nI5Ap98s SfaqZ+yQCOje0MxYhY8eV8wcX4GlgpPjzwEsso9banaJpgcdEIsndFuDb6gQcT8w7B/lP5Q/y tiPzfrnqTlVwoBbvIVzzvpiVnzAlLMrxfgvPOgGAOMkpv6OTYiWFXUnhRxNzLKPiqf9hSiQIW O/T18Rr5nlodY777L4eoWz6RLy1ZJbwHC2wChivm3Tz3ZB2hkuy7TSSLxYDHIbS7MTegwQ+2j 1i5hYuObOD5JCuo2Pp8O847SS6o1KFKmDLbuCCEzxOCFHh6emKs0DgvqLKMpnWQfIlXvnMeYR xD4aRuklurFqXb7IqmMtqyenFs79klk+JGQ9172lrrSB9q5Zwzq58Jj0CgrwY7UpxOIPMBLU6 qMgsG3RLlhLCFPbeZziF1JCeBp+ipPJeLI4/uOaqfCPUZA7RQFQbfAHHRZAsz2lNr4opQxuBP sjJ2AiVMpveMOtB0wv7c+Brg== From: cmbecker69@gmx.de ("Christoph M. Becker") On 04.08.2024 at 15:09, Nick Lockheart wrote: > To that end, I have created the following RFC: > > https://wiki.php.net/rfc/global_function_parser_directive > I am asking that we discuss and vote on the following question: > > =E2=80=9CShould there be some way for developers to signal to the parser= at > compile time that all unqualified function names found in a namespace > context are global, without a namespace lookup?=E2=80=9D > > Yes: We should do this, let's discuss syntax possibilities. > > No: This should not be a feature at all. Thanks for the PR! However, it seems to me that the "syntax possibilites" are an important part of the vote. Maybe all will agree that having that option is good, but there still might not even be consensus on the "syntax". Maybe just some straw poll to gauge interest in the general feature would be more appropriate? Christoph