Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:110807 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 73936 invoked from network); 1 Jul 2020 20:22:08 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 1 Jul 2020 20:22:08 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 74B681805A2 for ; Wed, 1 Jul 2020 12:11: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,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS 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-lj1-f174.google.com (mail-lj1-f174.google.com [209.85.208.174]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Wed, 1 Jul 2020 12:11:24 -0700 (PDT) Received: by mail-lj1-f174.google.com with SMTP id t25so23967530lji.12 for ; Wed, 01 Jul 2020 12:11:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=H27pQpSnkDdpo2Pn8q1TGC5HrEK917OzeRrWTpjmw3c=; b=OWpW0VEjh4D0bjfvm+k6OhREm9WiWNlq4DfkWwgluQUT/tN5H8cr2NufeysbkAYTC1 Vc0hr/j33na0nzVQDtpWRv9uuLMEmq9Tij9iXWZ4xYjn2A7+uVz6Nu4KByxLdt6HBLLu Yg5D5pEI6FPo1rV5QXVGWnA3HrXqCR0EgWAsYHDM8KPljXQitKymfldARQQIJHTNt3Sn hw3YyPKH4Zd5cPC/EDv3Tmnzs/WHoM27ZeM9z17sSZGj5LTFiPRu+ljJ7qJwj26wdga6 quudv4UF+2xJ1lh5koBHWZvLHaVVs4WgC2HwAW7P6HgbCTOr/mUF4e0FVdY9z0BBYr8S YIIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=H27pQpSnkDdpo2Pn8q1TGC5HrEK917OzeRrWTpjmw3c=; b=rv2K1WKh48qQhuKv6XxcXDf9Fdzkp/43VXb8+suBCRqfcRibaqsVjjVNaA9xxvmLrR +O46JTbZYigQMr0+YRJqad9L1WBzIKv4hD5V1Q6ElBktfC7lfWkQDyMCae4YnlEOuLpv Z4vUfZRE1j+mg9v6D/Duxg5cxnAB8DYx1ZbAqUy4oLu9KkqktXQUwiw/eU/CzKj3JhWK okXXyTDddWrjHGoe0L6LSipQAeefeNfE6BMyCqIqsmEUIgmKNUKa0s2BlPDgvyZQ+mXV uB3H8RZjH0PftNrBy8LOqnbz/9K/VAJBWS80RXr3GhRWam644LXs4M4D2LJ4jixdCxG3 6vOA== X-Gm-Message-State: AOAM5328HtjYjPuRzDblulhkXvQAoRsk5w2SiF9hKFVHLnvBT3tTm6IZ vqDwchETlOmnXro/1+H+1J3do61DK1A4dOEFLHs= X-Google-Smtp-Source: ABdhPJy/BZ38cSyphb0X4PWsHBgRzIFcTIieaLfej7tK1ZDjXB9X5//gm7lGcNi+rIPR6ZWWepSSornqUw9hr5yIr/E= X-Received: by 2002:a2e:908f:: with SMTP id l15mr13280035ljg.307.1593630682422; Wed, 01 Jul 2020 12:11:22 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Wed, 1 Jul 2020 21:11:06 +0200 Message-ID: To: tyson andre Cc: Internals Content-Type: multipart/alternative; boundary="000000000000baa1b205a9660e61" Subject: Re: [PHP-DEV] Re: [RFC] throwable_string_param_max_len: Configurable string length in getTraceAsString() From: nikita.ppv@gmail.com (Nikita Popov) --000000000000baa1b205a9660e61 Content-Type: text/plain; charset="UTF-8" On Wed, Jul 1, 2020 at 9:05 PM Nikita Popov wrote: > On Wed, Jul 1, 2020 at 8:55 PM tyson andre > wrote: > >> Hi internals, >> >> I plan to start the voting for >> https://wiki.php.net/rfc/throwable_string_param_max_len on July 11, 2020. >> > > Why is the lower limit of the ini setting 15 and not 0? > I just saw that you mention this possibility as "future scope". I don't think your reasoning there holds up if you take into account that we already introduced zend.exception_ignore_args in PHP 7.4 -- and which is enabled by default in production. That removes argument information from exceptions completely. Setting the string parameter length to 0 still provides more information than that. Regards, Nikita --000000000000baa1b205a9660e61--