Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:120003 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 98419 invoked from network); 12 Apr 2023 20:26:18 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 12 Apr 2023 20:26:18 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 89E3E18055A for ; Wed, 12 Apr 2023 13:26:17 -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,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-wr1-f48.google.com (mail-wr1-f48.google.com [209.85.221.48]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Wed, 12 Apr 2023 13:26:17 -0700 (PDT) Received: by mail-wr1-f48.google.com with SMTP id v6so12118075wrv.8 for ; Wed, 12 Apr 2023 13:26:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681331175; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=OsNAl+4WB9JE8yYOEf7ys+czt5yMIJtLBok3K6YDDyo=; b=QlGkm8zlgAP05QkT06EJ6tLI5J5cOo8kL3vGuTqJxJUOXx3wpgP5Ez75gB0CDOQ6KX t5HnFiNZD/R0ciTKLre/9w5TeGWVn5YxZJEhrDsiHiu6aYGAQTu9+TnqX2Pu/6KhznIN r21xefNAYBpxmLOe/uRYc6ud7MeNOJTWn3/bvPV0SlRqdGuxmxrH7gTC/xkQRKSxWiR/ WGs9eUkdEorBEWHPLHjL9DSw1ksnFEMS0VJFsgN2fCq2hxe8+fZqfzy9ILEQh76mjKYE kgbwm3to7oG1BvSa9/ep8gZKTQ914ifJZXH1ODGZlUfLhdn8o66j0+4USHndx+ZZE198 Nj2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681331175; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=OsNAl+4WB9JE8yYOEf7ys+czt5yMIJtLBok3K6YDDyo=; b=JTJ4FK3qonwRB0bQRqP4eXGc3jNoo8gD0h7aAPvNxQWlkJTnMJgaklLDz0ehYhD48R csAnbJ72SdfQyQzh6qn08OjPNIUc+xSyVr/3JZVMLNfUnOEejlRT1leYHUdy8X/rFKnn fG4ve2JDFeRysg7TWs63hLye5GvOzYkok+ZnkHwH9E9pQ7uCoLL2kCvU5lbUzsPhFdiE 5RH15hb/glwoMMPF2+9OxtU0kFsL4g2PoFJAvTwqJ8S+DT89I+aPMjDHcTTpqjH7wFrQ Vafjcmg1hbe91eSC2hU79vvu1FMV5d+Txjb2TMoHs8FSKJE48n+Q/pHCWUcAjJ3Dk674 HBQg== X-Gm-Message-State: AAQBX9el6JyJaL3nG/SAG/XDH7gfYvFsQypYjbmiK8f2DrHei0mfLPiX NrAk8Q9NHQBcyqhSP5DiHSgLQw/KGkw= X-Google-Smtp-Source: AKy350YhI0ryJmFwD4Eh8jIPOJMHIn9hV/8g1oy1xZ5ReOL+ZGAx1triHKWmHduOiuhZPV9MdDvvYg== X-Received: by 2002:a5d:6e03:0:b0:2f2:7e53:db65 with SMTP id h3-20020a5d6e03000000b002f27e53db65mr3002111wrz.7.1681331175492; Wed, 12 Apr 2023 13:26:15 -0700 (PDT) Received: from [192.168.0.22] (cpc83311-brig21-2-0-cust191.3-3.cable.virginm.net. [86.20.40.192]) by smtp.googlemail.com with ESMTPSA id p17-20020a056000019100b002f1dc56579esm8845274wrx.2.2023.04.12.13.26.14 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 12 Apr 2023 13:26:15 -0700 (PDT) Message-ID: <3b7db03a-1cad-3762-b0ea-d33618be9644@gmail.com> Date: Wed, 12 Apr 2023 21:26:15 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Content-Language: en-GB To: internals@lists.php.net References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] [RFC] New core autoloading mechanism with support for function autoloading From: rowan.collins@gmail.com (Rowan Tommins) On 12/04/2023 17:31, Claude Pache wrote: > * keep the current semantics, that using a namespaced or qualified function name, (including a function name given as string, which is implicitly fully qualified), doesn’t fall back to the global scope, — even when a previous use of the same function name did trigger the fall back, see:https://3v4l.org/mnVWO (Independently of any mechanism introduced to avoid to repeatedly trigger the function autoloader.) I could just about live with that example changing so that the fallback was cached, but I definitely don't think an explicit call like \foo\strlen('x') should become an implicit alias for \strlen('x'), which is apparently the current proposal. I really like the majority of this proposal, but right now would vote against it based on that. Regards, -- Rowan Tommins [IMSoP]