Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:125179 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 800BF1A00C9 for ; Sat, 24 Aug 2024 12:00:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1724500914; bh=AR6S9VLCKpZK0gBucZHunNA3hCvXM392PpTtRvinDfw=; h=From:Subject:Date:References:Cc:In-Reply-To:To:From; b=FUdchSJXeaHtsmGsK+AJPd60a1g58OXI7q+hT6LV8c1VLURq+93uqKz3emg1Gy5Sa kBoVcpCMuG+m5D9TyvrneRRqltuRhxH2FUswWb2z/3/T/TDASXcv0+cdG4AFM3sca7 rOrYQpGRHfikPEWSoIAuqiRPfp1gK5XZKgArMP5Ld2GRws+B7njmPc00vuWC27wSan vEpmW6j49egtdQi5t/lTROuL7n/dA+Q5qYx9RuyY/JxQRegL+Egf9Fa/BkenTbYxJ6 up+mbJF63ekr/vglAag57AgTgpLB0UclKO816cbMqFWmLObMxUt+/bYIeE4mmrQq/y HEmY5iJEvDZLA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 61CB1180042 for ; Sat, 24 Aug 2024 12:01:54 +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.8 required=5.0 tests=BAYES_50,DMARC_MISSING, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail1.25mail.st (mail1.25mail.st [206.123.115.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Sat, 24 Aug 2024 12:01:54 +0000 (UTC) Received: from smtpclient.apple (unknown [49.48.221.224]) by mail1.25mail.st (Postfix) with ESMTPSA id 1518760401; Sat, 24 Aug 2024 11:59:58 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow Mime-Version: 1.0 (1.0) Subject: Re: [PHP-DEV] [Concept] Flip relative function lookup order (global, then local) Date: Sat, 24 Aug 2024 18:59:45 +0700 Message-ID: <773F5AF4-DE89-4952-BE1A-16FE5326B239@koalephant.com> References: <3e8eaf60-1778-4579-b058-e0849a7b7106@app.fastmail.com> Cc: internals@lists.php.net In-Reply-To: <3e8eaf60-1778-4579-b058-e0849a7b7106@app.fastmail.com> To: Rob Landers X-Mailer: iPhone Mail (21F90) From: php-lists@koalephant.com (Stephen Reay) > On 24 Aug 2024, at 16:24, Rob Landers wrote: >=20 > In other words, if you want to autoload a global function, you need to cal= l it fully qualified. When I said this thread reads like an April fools joke that wasn't a challen= ge you know. Are you seriously suggesting that unqualified function lookups should be glo= bal first, then local, except if it's to be autoloader and then the global o= nes *have* to be fully qualified?