Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:120175 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 40205 invoked from network); 2 May 2023 11:32:37 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 2 May 2023 11:32:37 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 3464D1804BE for ; Tue, 2 May 2023 04:32:37 -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-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) (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 ; Tue, 2 May 2023 04:32:36 -0700 (PDT) Received: by mail-wr1-f47.google.com with SMTP id ffacd0b85a97d-306342d7668so805478f8f.1 for ; Tue, 02 May 2023 04:32:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683027155; x=1685619155; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=Xjuj60k1PyDpgWoeqNCfcq67hVz+eF9j373mq1YMcK0=; b=ES3jHt8ipX7ByKn6/YWZykYT5jpfGP/dw9haDlDMJVlBW3IXZI07wZIyQ5qr/Owz3N ZIwlO5js6fRI+JTJoSOCcGQX4YbclZCJ2rL/E/sMSbC8+JCWj0c0Sm+EhJ0cZsfG8ZAn ZkIsqEZ8wcWgyZVzTCro2pzCNPfSs10w0QyZ4UYvpu7Dh6PRrbgz72KT3p+GHETkoH6N q1U/9+0SLMHfdrdEx4SF+6KFPaepxQVo7rMnpvmRuloRprTw2MaNNOplKN/QD/bsfHqT R+Kue5QR2AyxHdxL0/97x5RYpVWIeAlhC6WhjIHxUtAvZmUWRK+V5sSMqIOW2dc7gBvr JhCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683027155; x=1685619155; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Xjuj60k1PyDpgWoeqNCfcq67hVz+eF9j373mq1YMcK0=; b=WKVgUWh82Y5s6NpI8DsYHA7WY3+T//1ACuDoK1kXOqGfUmzhPm6n7yiWrC3rqJ89kD zpc3f72A5Adp8/UiAZikkCYA4fG/OUuxIZg2t661wu9Rr3cZaMsnItw/Sd+YaUvI1O6q q2dNtDNr6Va4HnTXVic62RQe5SZJkIhZh5zZ5Ni94drnHTf3LMPIn3BQzAMI0y2/0+g+ XF52FV2frdND8mdsJkjm7+Y/YCNa5uXiaXcrZgPc5S+an5dwAkfYSeOxwiYLqyBMHswZ DeW66yG8YVlBCuGUjSIdv2Bl5ESuJbMBkvj1WX2yrQs5TH6uZRUEEndgig5DamhnYySz CsGg== X-Gm-Message-State: AC+VfDzQluMk/ciLP1IMwoQ6SQ0n0763HFdBXxfSJ9ILNHYBNevOzaTm hQl0vkb7RkSxJ5Vf9kwFEFKTZibm2u92gDwitw5SICBg+2M= X-Google-Smtp-Source: ACHHUZ7Ai0RsKrV33rJx5ilBK7lTpCiSVmaqbMfntXd4PzCBpFNQ5aFhHxZejcduiI2YgxcN+JdhSirDKuhaMBjF1hU= X-Received: by 2002:a5d:6dc2:0:b0:2f2:9198:f0f with SMTP id d2-20020a5d6dc2000000b002f291980f0fmr12428388wrz.10.1683027155471; Tue, 02 May 2023 04:32:35 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Tue, 2 May 2023 12:32:23 +0100 Message-ID: To: internals@lists.php.net Content-Type: multipart/alternative; boundary="000000000000bfd1ce05fab44b7f" Subject: Re: [PHP-DEV] [RFC] [Discussion] Deprecate functions with overloaded signatures From: rowan.collins@gmail.com (Rowan Tommins) --000000000000bfd1ce05fab44b7f Content-Type: text/plain; charset="UTF-8" On Fri, 28 Apr 2023 at 09:16, Rowan Tommins wrote: > On a different point, I think "assert_options" is a peculiar name for > either setting or getting a single option, and would suggest it be > replaced with two new functions, assert_get_option and > assert_set_option. > Further to this, I've realised that the manual is currently a bit confusing regarding the interaction of ini_set('zend.assertions', ...), ini_set('assert.active', ...), and assert_options(ASSERT_ACTIVE, ...) Either way, all the options to assert_options are documented as having an equivalent ini setting, so is this function actually needed at all, or should users be encouraged to use ini_get / ini_set directly? https://www.php.net/assert_options Regards, -- Rowan Tommins [IMSoP] --000000000000bfd1ce05fab44b7f--