Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:120691 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 36047 invoked from network); 27 Jun 2023 08:37:14 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 27 Jun 2023 08:37:14 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 6352F1804AC for ; Tue, 27 Jun 2023 01:37:13 -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,HTML_MESSAGE, 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-f54.google.com (mail-ed1-f54.google.com [209.85.208.54]) (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, 27 Jun 2023 01:37:12 -0700 (PDT) Received: by mail-ed1-f54.google.com with SMTP id 4fb4d7f45d1cf-51d80d81d6eso3552342a12.1 for ; Tue, 27 Jun 2023 01:37:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687855031; x=1690447031; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=GXlSvaAWNo8rr6QlHE/JPHdzpS9TIwwyELHllyC7QPM=; b=C7ONWQziPMFXAKiuD7K4JSIl81xuoIydJ9cWF4khi6x3aymfQUjswVStItVB2HDQGH p6uvfZ/ysGKOwuG6PJ4QG0cjGMNfdWPMKfB0pMt/1NnnFesFzRFJHfJddkr50fDxByzO HPYQsX813hVI32d8zwcIuQG2dPLZfSMGYuJEPWybHkJ0/OStwfn47AklTGP7PE3WWmpL 9CSVNz+HwlxuGVGSPvyjsyfBkATe8I2yE8NVYFCy0wMcE+VK4bxXmJ94pJzrakNN+Vk9 NycylDbTKAx9/ingYOZySYHAIIVeVb5W7drX5gSuNZrZ6hYt50+K/BkWz1S2LWK5UQ20 g/1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687855031; x=1690447031; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=GXlSvaAWNo8rr6QlHE/JPHdzpS9TIwwyELHllyC7QPM=; b=aHQGYORl2PUZn6YpzC/0T7PG5B4xkgsKO/ffQEPJdwe2YhweTNROBLSiUD3hfTqjV8 Z5wpWE/LNaAxw87IuBKt+IJixkiKb6oCf4kX1s2iHXZ49ouSbULJ9dw55lfF8FzhKHk3 ZT6gh1ebHH83o4/UInCdG4etBWPFNGu4NG0ilubWpK3EgddCYHHmWImA9OTOIKgHcsjt dGqFKgjsTN5L1ZUZfQ7xvjodWfH0WxaKnuhHmh/uZf0RbuJI26D+sUSGn87e0Uq95WHr msir7cU1jpG6mxYO4lD9VM25Ww7Hw63Txjv5SJacVls/b6zrZOQyaU9U+Y/057I1Kfig yp+w== X-Gm-Message-State: AC+VfDz8TrFiE/fT8SM0eNgMXYzuphNZCKudPrZRoFQrSoZ1Gh2nXYUL RW6fj8P5OANeOAuknupnk8E= X-Google-Smtp-Source: ACHHUZ4meeAeJohY1BNpo+hZXdavqiAB2dxM9n4XA3oQmWdIe+1LwtLGeiDyXj4De7Z1fVsL1Z2U0Q== X-Received: by 2002:a05:6402:4cf:b0:514:a4cd:85d7 with SMTP id n15-20020a05640204cf00b00514a4cd85d7mr19384165edw.26.1687855031079; Tue, 27 Jun 2023 01:37:11 -0700 (PDT) Received: from smtpclient.apple ([89.249.45.14]) by smtp.gmail.com with ESMTPSA id a17-20020a50ff11000000b0051a4fcf7187sm3515287edu.62.2023.06.27.01.37.10 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 Jun 2023 01:37:10 -0700 (PDT) Message-ID: <63DC7264-4DE9-421B-B69D-469CE34BD6F7@gmail.com> Content-Type: multipart/alternative; boundary="Apple-Mail=_5C57628B-27AC-4C1B-981C-707A25BBA622" Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.600.7\)) Date: Tue, 27 Jun 2023 10:36:59 +0200 In-Reply-To: Cc: PHP internals To: "G. P. B." References: X-Mailer: Apple Mail (2.3731.600.7) Subject: Re: [PHP-DEV] [RFC] Deprecate remains of string evaluated code assertions From: claude.pache@gmail.com (Claude Pache) --Apple-Mail=_5C57628B-27AC-4C1B-981C-707A25BBA622 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > Le 26 juin 2023 =C3=A0 17:06, G. P. B. a = =C3=A9crit : >=20 > On Wed, 31 May 2023 at 13:08, G. P. B. = wrote: >=20 >> Hello internals, >>=20 >> I would like to start the discussion about deprecating various = remains >> from the now removed string code evaluated assertions functionality = of >> assert(). >>=20 >> The RFC is located on the wiki at the following address: >> https://wiki.php.net/rfc/assert-string-eval-cleanup >>=20 >> Initially, this was part of the mass PHP 8.3 deprecation RFC, but = only the >> assert_options() function was part of it. >>=20 >=20 > Head's up, I'm planning on opening the vote on this on Wednesday the = 28th > of June. >=20 > Best regards, >=20 > George P. Banyard Hi, Still some points: I don=E2=80=99t see the RFC listed under = https://wiki.php.net/rfc#under_discussion. The RFC is imprecise in what is meant by =E2=80=9Cdeprecating=E2=80=9D. = I guess that a deprecation notice (E_DEPRECATED) will be triggered at = least under the following conditions: * at startup when one of the assert.* setting has not the default value; * at runtime when `assert_options(...)` is used; * at runtime when `ini_set(...)` is used to set an `assert.*` option to = a non-default value? It is unclear to me what will happen when: * `ini_set(...)` is used to set an `assert.*` option to its default = value, either as a no-op or not? Moreover, by removing `assert.callback` (and other options), are you = effectively removing a feature? (I don=E2=80=99t really know, I have = never considered it even in my worst dreams.) If so, it should be noted = in a =E2=80=9CBackward Incompatible Changes=E2=80=9D. =E2=80=94Claude --Apple-Mail=_5C57628B-27AC-4C1B-981C-707A25BBA622--