Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:120951 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 82584 invoked from network); 29 Aug 2023 17:24:25 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 29 Aug 2023 17:24:25 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 79ABB1804DF for ; Tue, 29 Aug 2023 10:24:24 -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-ed1-f46.google.com (mail-ed1-f46.google.com [209.85.208.46]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Tue, 29 Aug 2023 10:24:23 -0700 (PDT) Received: by mail-ed1-f46.google.com with SMTP id 4fb4d7f45d1cf-52a5c0d949eso4085033a12.0 for ; Tue, 29 Aug 2023 10:24:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693329862; x=1693934662; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=pAKgb73PsdPvEcXwl64jR5g7ulqhll1PuQdHyvj1h/8=; b=CLHdJ/7ePgIwvcIX0WMRV+ahpmXgfQ3hm7FAfYfmI3IWIvyuvNkw4HYeKlBHlRuZs0 GI2elo5LWsGCjxV2C9gCtAFeNPCwSOuExP+IglKlTEdz+JYWn1ofUoak2THkhnRf5PUa OTblgpL6sPsYJPpKE9v+RdlfNAW4nfmzGIld2JmvntLlI5g+B7C2MvfqXl2clzkWW4gK Ku1RoNfTp9PTYkwjXoUJpO78CdhM5HQQCiR5jRRc5al2KGyudeN89OSoAQgTNCXEqysw mXmWwsI7CwW+pL2Yaxyc7zTok3THftvXnSo9v9NCweZtQVxR7foR8ZrkTiZhP9jByNsY 5fpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693329862; x=1693934662; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pAKgb73PsdPvEcXwl64jR5g7ulqhll1PuQdHyvj1h/8=; b=P0LkbW+/l8R7eH48yO66aHCwwf7HpHsOX1/hJD1e9RI9b43m/QaS1rGcJb4F//8dFe qnYDcZMl5TVuv4bdjJbHb6prGE2Yr1PcJ/5D75BmV4B0KN8YSXHaDwPbw14VOCt8Gpqi 2KXDmPUPwOlEu1nIvLrtwyoUEjVYb6VD9XnTXAboLyZ2rhvkZYcNrjU2SoNgAkokJDIC DvapYQRmVzg84Np56WXuxHbMjAtJqqjyclPqai6oFHuMJuRuySvyQBAzUIwY49Ft7HY0 wgVPcy2S3G+y5G1kVWJT/8JgOKREXzTaYtty1dipEQV26IV20YlCtVoRgkbaGgEiHjBS SZAg== X-Gm-Message-State: AOJu0YzISc6j8RLFbj8GznXaHreb79fgMiOLZmWE2DQfihI+hOmpS1Jy iuUbO/q7UvHbX5FPjr/b6r4= X-Google-Smtp-Source: AGHT+IFT4XklKxeS09eLppEpJIs5r/bcBI2IVxFHG9l+zuBN/Fgvwyigr/Z1Nqv6A+kyRuJc67PwOQ== X-Received: by 2002:aa7:c90b:0:b0:522:27f1:3c06 with SMTP id b11-20020aa7c90b000000b0052227f13c06mr19753246edt.21.1693329862449; Tue, 29 Aug 2023 10:24:22 -0700 (PDT) Received: from smtpclient.apple ([89.249.45.14]) by smtp.gmail.com with ESMTPSA id y9-20020aa7d509000000b0052239012c65sm5873240edq.82.2023.08.29.10.24.21 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 Aug 2023 10:24:22 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.600.7\)) In-Reply-To: Date: Tue, 29 Aug 2023 19:24:11 +0200 Cc: PHP internals Content-Transfer-Encoding: quoted-printable Message-ID: <395A3343-CFC2-4EAA-A5F1-3B0053696C63@gmail.com> References: <4406C50C-18FF-4F20-BA7B-206E86610CCC@sakiot.com> <245BD1CC-7D54-4CBE-9640-5C8FF5225617@gmail.com> <5B8A7736-9A2A-47E1-B410-4D734DC75EBE@gmail.com> To: Hans Henrik Bergan X-Mailer: Apple Mail (2.3731.600.7) Subject: Re: [PHP-DEV] Apply strict_types to internal functions From: claude.pache@gmail.com (Claude Pache) > Le 29 ao=C3=BBt 2023 =C3=A0 18:40, Hans Henrik Bergan = a =C3=A9crit : >=20 > * I think most code actually using strict_types=3D1 is built with the > assumption that internal functions use strict too, so it's entirely > possible that the backwards-compatibility issue is so small that we > can get away with internal functions just inheriting the userland > strict_types >=20 > On Tue, 29 Aug 2023 at 18:36, Hans Henrik Bergan = wrote: >>=20 >> maybe we could do a >> declare(internal_strict_types=3D1); >> on a per-file basis just like the existing userland strict_types? >> (name is up for bikeshedding ofc) >>=20 >> On Tue, 29 Aug 2023 at 17:49, Claude Pache = wrote: >> [...] >=20 Hi Hans Henrik, The rule of the mailing list is to post your answer below the text you = are answering to, and to strip the parts of the original message that = are not relevant to your answer. The aim is to make readers not to guess = what you are responding to, and not to read backwards, thanks. Furthermore, I can=E2=80=99t connect your answer to any of the points I = made in the specific email you replied to, so that you may have replied = to the wrong email. =E2=80=94Claude