Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:119976 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 49714 invoked from network); 12 Apr 2023 16:25:10 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 12 Apr 2023 16:25:10 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id C7050180560 for ; Wed, 12 Apr 2023 09:25:08 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS398810 136.175.108.0/24 X-Spam-Virus: No X-Envelope-From: Received: from mail-108-mta23.mxroute.com (mail-108-mta23.mxroute.com [136.175.108.23]) (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 ; Wed, 12 Apr 2023 09:25:08 -0700 (PDT) Received: from mail-111-mta2.mxroute.com ([136.175.111.2] filter006.mxroute.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta23.mxroute.com (ZoneMTA) with ESMTPSA id 1877648e7a4000edb4.002 for (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256); Wed, 12 Apr 2023 16:25:02 +0000 X-Zone-Loop: fc3aaf2d34d49709c42ebc0793f0083e11bb526dc823 X-Originating-IP: [136.175.111.2] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sandfox.me; s=x; h=MIME-Version:Content-Transfer-Encoding:Content-Type:References: In-Reply-To:Date:Cc:To:From:Subject:Message-ID:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=26lf2/fMsWCH6bSNbwLvZ/8cSxdR0TThZFTa0ycpq+s=; b=LnyycP+BUol0lOE1w6sXx6zYFl bP+LtVKO6TtVCujRd9soaYIYdtvmYyMrcOvsL8WH2iFdfFzXacdUsXx17/adhWAxeqFBD7dr3+XO+ nEhvSfa6i5TnFD8aRDCWuzs0DSdFM8Qcdt7xX1M/ckufbuO2w8z9CFh3RH9sZcb5B80LNSbRJiO3/ LL58ODHJnF40ggm7vqmAqXH6Ae2NPgdCMrXnxy0BVLmlEbrHFM+dDDifd9tixZbU3L9csjULvIq42 0U6SG1EWj5p1FjFeYnM/rdfnjLdF9e9pnfFw1rJLJKdc2XcWSGiVhItyDSN2rDm05Hk9sksFlxHHS FG0Tn6fA==; Message-ID: <2400fbe25f6ad02c11c4a67c2bbb849e4c59aec3.camel@sandfox.me> To: "G. P. B." Cc: internals@lists.php.net Date: Wed, 12 Apr 2023 19:24:57 +0300 In-Reply-To: References: <7fe2339ed7ba287811e9437d029696a9b9d8a332.camel@sandfox.me> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4 (3.46.4-1.fc37) MIME-Version: 1.0 X-Authenticated-Id: sandfox@sandfox.me Subject: Re: [PHP-DEV] [RFC] New core autoloading mechanism with support for function autoloading From: sandfox@sandfox.me (Anton Smirnov) On Tue, 2023-04-11 at 11:57 +0100, G. P. B. wrote: > No, array_map will trigger the autoloader (actually strlen() will > trigger it once first) and the autoloader should then load the > array_map function from the My namespace. > However, if the autoloader does not correctly load the My\array_map() > function then it will be bound to the global function. Thanks for the clarification, my scenario falls apart now :D LGTM. I hope it will be approved. --=20 Anton