Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:120017 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 65635 invoked from network); 13 Apr 2023 08:11:28 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 13 Apr 2023 08:11:28 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 06841180503 for ; Thu, 13 Apr 2023 01:11:28 -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, 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-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) (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 ; Thu, 13 Apr 2023 01:11:27 -0700 (PDT) Received: by mail-wm1-f44.google.com with SMTP id l26-20020a05600c1d1a00b003edd24054e0so9470392wms.4 for ; Thu, 13 Apr 2023 01:11:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681373486; x=1683965486; h=content-transfer-encoding:mime-version:message-id:references :in-reply-to:user-agent:subject:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=bywrIiakRasocAmSJoC0oyXPw5bmM0qJ0FWKQdh5BTo=; b=h+w9c/+eB+rUJVbG49rnbgSGHhwlZm1GNAM01dhhtl2pkESaLQLFw1iv8n2Aj0yosW +JtFIHrzyC2a8z1aeMzjMKp64FZDyIC9CwRmIuIMEbtkY4YDOq7mjDcgoZIR44sBl+nt qQo3QYTfdme7A1u4ZzsKlZgAhnYM2BEso4I/CUIRre3jSZTAn+YT/BHc0DDKC5L3NCEb mKpBPtyihLCX/aI8UdNHMPv/IBgapYpElQoRATuIsJxdR/ZEPShxuJnTVViyeaElUNF4 zdrjxy7y0rcFzjs7ja7CNKZXWOcOP66qW/jARMcppGgScy9rMI7LbQoTR1p+bHQO12aF MeIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681373486; x=1683965486; h=content-transfer-encoding:mime-version:message-id:references :in-reply-to:user-agent:subject:to:from:date:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=bywrIiakRasocAmSJoC0oyXPw5bmM0qJ0FWKQdh5BTo=; b=MUi1lAz2gAXpyqlIz9ZdRm/cdvj0gKuEJvkFZbbaD7XpzE3LR1+RyPZz69tDCwMYBF AHc00Yg6MdAi8knYdvzBvs/g/xuRAj4ZIqvuNRt4bwwMmL/6UcKdK3PDhXEePXnBi7+R 1eVoDIAzaes10TrjK5imqLxKnM80dGYCyFfZx5y5FGITpPl6MctjSSPvKm9xzwvWtYd2 92Ir9q3wLdd+kgtoLG+8A4xFoCG+UXeTuPlY6DsGO1PLb4isEAd+jiZtyP8D7q/rmMs2 PkeVSbXsiANtB5zro3dORZJif21BMBLEbnRABi8OCW9mGOVyOUwWUi+41WdfAU0h52RY bPHQ== X-Gm-Message-State: AAQBX9eT1eidvrGxtm8masUNRisZ1gGIKe+yuuuX2N5MsRcjHHlzM4J7 k8FNvwVQSCH7dJjI0/1E3yzielqcYV0= X-Google-Smtp-Source: AKy350aO5iy3LLj9GupRAGVdmneNZJhaHFjKMAN0gcaPx96vAXn/LtfFKjsfzzgqqAncE6HwBU6xFA== X-Received: by 2002:a05:600c:21c4:b0:3f0:a251:e52d with SMTP id x4-20020a05600c21c400b003f0a251e52dmr1210151wmj.16.1681373486138; Thu, 13 Apr 2023 01:11:26 -0700 (PDT) Received: from [127.0.0.1] (cpc83311-brig21-2-0-cust191.3-3.cable.virginm.net. [86.20.40.192]) by smtp.gmail.com with ESMTPSA id m2-20020a05600c3b0200b003f0652084b8sm4741662wms.20.2023.04.13.01.11.25 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 13 Apr 2023 01:11:25 -0700 (PDT) Date: Thu, 13 Apr 2023 09:11:25 +0100 To: internals@lists.php.net User-Agent: K-9 Mail for Android In-Reply-To: References: Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: =?US-ASCII?Q?Re=3A_=5BPHP-DEV=5D_=5BRFC=5D_New_core_autoloading_mec?= =?US-ASCII?Q?hanism_with_support_for_function_autoloading?= From: rowan.collins@gmail.com (Rowan Tommins) On 12 April 2023 23:50:25 BST, Dan Ackroyd wrote= : >On Wed, 12 Apr 2023 at 17:32, Claude Pache w= rote: >> >> The proposed modification of `function_exists()` will break existing co= de: > >Please can you submit a failing test to >https://github=2Ecom/Girgias/php-src/tree/zend_autoloader that shows a >BC break=2E I see that George has added this test based on a previous example in this = thread: https://github=2Ecom/php/php-src/blob/7aaae2efa080084035911065c346d= 5f8932b0d63/Zend/tests/autoloading/function/local_function_pinned-to_global= =2Ephpt It currently enshrines the proposed change in behaviour, so if you want a = test that passes on existing versions and fails on the current branch, just= delete the last two lines in the EXPECT section=2E Regards, --=20 Rowan Tommins [IMSoP]