Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:124759 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 5C1651A00B7 for ; Mon, 5 Aug 2024 11:27:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1722857354; bh=aiE0pXWZ5rIXbI0isQMbOEDjVFgQI1LKwsgVb3yXmSY=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=hhvanBISElhp1kyWPr4nyIOfOXkiMCTOoc9EcrJqRRinxWqYaRbCvzdU4/mbjLobV uGOQRpVf0XamudK8KQELE3k/9GdCgcMJkU6yOXI+b0Do4b2PbXfaxlvzqi3miAlYUr gsHPSYjorXOSIPgWBQSE+Rx8RblaV8jTkWqMpMQqK0jWfgKVi3PSD1kI9EhRFoWHLJ 5aPAZEBie2hdsNuxH11S5EnJrgX9DG8tZjFT7vggEgVoZR5Mn3yABbI8ltegqT7t/4 sqbPvTUk0zKdKcByV4Q0p179bKwgCmBqfSd04fCZnykrJ0oIGRzY7QCp1K1WQL5dXb icA8SgneOAupw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 9F3C918006F for ; Mon, 5 Aug 2024 11:29:13 +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=3.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,SPF_HELO_PASS, SPF_SOFTFAIL autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from xdebug.org (xdebug.org [82.113.146.227]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 5 Aug 2024 11:29:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1722857251; bh=aiE0pXWZ5rIXbI0isQMbOEDjVFgQI1LKwsgVb3yXmSY=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=couTWogmVoM9NwDiauT/xmb6uHB0KHcgTLJzzgw9Ii789kPOw4nB8NUx8Gfk//pqV xSKUYRe7sqK4ZUPUt/EErcaBmo8yoYKgJihPe38TcMZhWyu9nXXWN0yU9lFZTJMR9P htsn+M6naXgrait8T1oio+RjxsYZQIs2rQv0ASrN69bGIZU4bXrIsdwlfMYwge7I/7 4cS+F61pZ59aggQ+MOfG6SKCbFyyOKlHb8QyvV8ozaWLNSZQSHfZ8u+iy/Ye9AkPHT X5/e6eM3jExKxEargpvIukWL+yagXpQXHF/zole3cLCtI8Xm1RVVUS1bdyHyvWxDPI Vnve5PmW1kqfA== Received: from localhost (localhost [IPv6:::1]) by xdebug.org (Postfix) with ESMTPS id 9E87110C033; Mon, 05 Aug 2024 12:27:31 +0100 (BST) Date: Mon, 5 Aug 2024 12:27:31 +0100 (BST) To: Nick Lockheart cc: internals@lists.php.net Subject: Re: [PHP-DEV] [RFC] Add Directive to Make All Namespaced Function Calls Global In-Reply-To: Message-ID: <0e04da48-0d16-f5d5-29b3-b43271d0d0d2@php.net> References: Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="8323329-1079244015-1722857251=:23442" From: derick@php.net (Derick Rethans) This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-1079244015-1722857251=:23442 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE On Sun, 4 Aug 2024, Nick Lockheart wrote: > https://wiki.php.net/rfc/global_function_parser_directive I am asking=20 > that we discuss and vote on the following question: >=20 > =E2=80=9CShould there be some way for developers to signal to the parser = at=20 > compile time that all unqualified function names found in a namespace=20 > context are global, without a namespace lookup?=E2=80=9D I don't beleive that we should introduce a switch for this at all, just=20 like the conclusion was in https://wiki.php.net/rfc/use_global_elements cheers, Derick --8323329-1079244015-1722857251=:23442--