Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:130304 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by lists.php.net (Postfix) with ESMTPS id 66A9E1A00BC for ; Fri, 13 Mar 2026 05:07:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1773378463; bh=IeTlMAT1m5nHUcm4LCTwCbJ1dDJvA5NWLeyGmQvUbjA=; h=From:Date:Subject:To:From; b=H9T6d8uFREi1PbTr7nhn96V+SPc9NjPZu3vkZaVB9PAJzNottiNMSxcSXSFDCOBSD Rf0GlmDhnu11/3tX6GN/bG0t4DeZy4pWnNY66DpX9yyW2xiJsNIsDV+TSO7eMRCkkL HEUuk2SNo+4GxmymcVk6znE5i29wvdise3MldHauQ87E1jEROKzfJYFG7y18MQ0/xR eRrlcUd9YMlU0K4pQCz3EfmovFcJgP7d+qo8xl384p4nevpoZ62+hDaXlRp8t1t5Af O6vjRNIV9a7QO4fbEkSbwsBjCZC4ZfY50mxv9umJSfNire6OYNbZ77bHpRENYg4XR4 xEYrbdNbB+dpA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 1A052180059 for ; Fri, 13 Mar 2026 05:07:43 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_50, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS, FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: No X-Envelope-From: Received: from mail-vs1-f47.google.com (mail-vs1-f47.google.com [209.85.217.47]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Fri, 13 Mar 2026 05:07:42 +0000 (UTC) Received: by mail-vs1-f47.google.com with SMTP id ada2fe7eead31-5ffb61b0babso1147003137.3 for ; Thu, 12 Mar 2026 22:07:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1773378457; cv=none; d=google.com; s=arc-20240605; b=EuY8/XXzAo+wdHpXbd3Faytto1lcnHGrzTj3tKFK291EiN5Lfv5z1oOi3sRmOKIP+/ j+Gg09f9SKoEZpsa0TPbTyojz9EiaqE09appzp3cS6CJeAt+mMVwkmlXaMgFis0Lxb8r hyhKOcpgSEDkk0UcqNVjq635ZEne/3idSelPLueqkyh/3e9lHuay7LyZGMEomJVJuliv MXly9GyZoiCH9m8uvm9FA5ulcEoFUQ/q1+Teehrk9bjPNEebiqGR/FX+GA+A3n81n+Bw 7Sqk6cr2ksWeJntYfw8kckqPGltafLO0SPD6XcDolijGve+vsKUaJJawh50zW8aKEF+4 tdtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=to:subject:message-id:date:from:mime-version:dkim-signature; bh=IeTlMAT1m5nHUcm4LCTwCbJ1dDJvA5NWLeyGmQvUbjA=; fh=5KvmJ5K5QBymFDNCdtgpPKEwgSxqOQnCzLzHVTYb8GE=; b=Qwmi1Ka0KEfvUKzpI0avxT6GV2ojulWacHpz9I5VlHgo2zT81mPmH7lSkZG381Nnhx +kW8EqP9QHA9CPN/XOTUXuZbn+PHp/Btcz2ncLHoWgT1nvj+PXREef9IQG6AtOS6NLbO VAY98GvW3bm7ls0hal5a/bshJ/Ls+bWv7r7grKFHMCw9OzCF3EkBxdJOqbviI+erF8Mh pVg6DoB7Xtmm3z9w0vxpaUjM72CGdKtoKhbN9MiauqfXvNDV87+5WTYKlwuaJIT5i+HY YBR608Coh6TbkWcyeKncW1IIr8wuqO9I4gDJHFWBPuFzeBXo5cpAn/5Gxe/SbUFR5LDe UG1w==; darn=lists.php.net ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1773378457; x=1773983257; darn=lists.php.net; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=IeTlMAT1m5nHUcm4LCTwCbJ1dDJvA5NWLeyGmQvUbjA=; b=SJBA3KGCPTVSE35mVsU6sUmNQRZ/j0cjstd2xJ6qP1kW7CELEazspQec1SmUGNmpI9 086lnqvLNYRyLGApByKkFLCI78j6eqxTWWW+FuV696AurEUrV+O6wreZ6KfEyws77Ucn balBf5MNH+n+6cFP3+yK/mcE4rKcIpc7wNbyaUuQemWcYOGeWu/biPybxTl/HCIrCuVj xwtf6WQ/zSCk3hzwQ6YUi6URmohKIoux9xsYnIgjHxnwjAAukCypLuVN0KWJfE7IBGPB J1BmCJoUQfJwnyvs9SQ7R7K87eBY3timCE5SB271aMx4lP9AT72UrC4SVhgy0ecU2XH0 OYFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773378457; x=1773983257; h=to:subject:message-id:date:from:mime-version:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=IeTlMAT1m5nHUcm4LCTwCbJ1dDJvA5NWLeyGmQvUbjA=; b=B8qt0Rx+He1SsIFRwAEoTJ4yDE9iJC9U6xGe+LPNCl2JZXzvIFA3SRh7HcJH/1KPmV Ch816NzwXmK0SYe0YiJ4e5PZ+3JS915Zz3UULo1Hhjqm/ndiyLgfrJDnaqFzJ+wli7gY CG54lFB3pwc8JOmplDWg1wAm2+UY7VFLvw2M70TxCGQt9Ojc9w1Az6ZD9KX4/AW9dvzS 0C0PZgQQwnotDy7H/F5fdYIda1KA0oFhstbg0mU9mdIfnjEoMAoWesusP22ypgQa/JFA 4HMMHP/Pu1t+q/xIkDHJ8cUDfkGu47obtdVmJmXeyPVrOylOh4B3sxApVvsR/Y/cyCuo VIBQ== X-Gm-Message-State: AOJu0YyqunoL+P8bRJ1+Nai1HwyaOvdEQ4hWIemBuNUH7baB5PrPb71O 3sEZpulj2QVk8MG4YDqY/PaS6LVVRNvRQQ+/LYj7j/p4XBeKT2gbeaiG9rHIkVdCOgBrRYw+mEj Bg4vftq5ak5Z17G3TImGdHyvzVP/vAU1jTzi9vkQ= X-Gm-Gg: ATEYQzx0wETkhMvX3t16ylGoBhwnLqjcQhPjuTNMav+qBgW6QgwyAEHlRYTvuFbrK09 9no5aNYnj/l3ysue/VzYhkrMgKh92Ozoy2cTd0xCR2uaC96AMdRix38hSxEV/B8jQHkIlZpztOh 1iFB4rXIYpwYCyswnR2lJ+/rcCcc6XFldQVTdLVN5L7ysLVxowM4eXIq80tdZugUsW6VEfLx8ox U7a09ziI95Rm1I1FPbf74jmxCiAPVInpplwuhRIFzp9SYvCND8NnPghG1feWLvzuIXUWKa0DeMq lCKDRBMW X-Received: by 2002:a05:6102:3a0e:b0:600:39ed:f113 with SMTP id ada2fe7eead31-6020e5f7024mr918139137.40.1773378456999; Thu, 12 Mar 2026 22:07:36 -0700 (PDT) Precedence: list list-help: list-unsubscribe: list-post: List-Id: x-ms-reactions: disallow MIME-Version: 1.0 Date: Fri, 13 Mar 2026 10:52:26 +0545 X-Gm-Features: AaiRm53k1_wYb9nKiuftC2_8WCZD3GW3e7_PmEHNX7-JkF47frpLjRfq9-LbDmg Message-ID: Subject: [PHP-DEV] [RFC] Exempt input type and value validation from BC Break policy To: internals@lists.php.net Content-Type: multipart/alternative; boundary="000000000000fb5bf8064ce0d812" From: prateekbhujelpb@gmail.com (Pratik Bhujel) --000000000000fb5bf8064ce0d812 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi all, Thanks for the RFC. I have a real=E2=80=91world example that seems to fit t= his =E2=80=9Cinput validation=E2=80=9D category and wanted to sanity=E2=80=91ch= eck it with you. I opened PR #21319 to promote a few ext/snmp invalid=E2=80=91input warnings= to ValueError (only for invalid inputs). Valid inputs behave the same; the goal is just to make errors catchable and consistent with other extensions. If this RFC passes, would a change like that be OK without a separate per=E2=80=91function RFC? And are there any expectations you=E2=80=99d want= contributors to follow (tests, deprecation note, minor vs major timing)? Happy to share more details if needed. Thanks, Pratik --000000000000fb5bf8064ce0d812 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi all,

Thanks for the RFC. I have a real=E2=80=91w= orld example that seems to fit this =E2=80=9Cinput validation=E2=80=9D cate= gory and wanted to sanity=E2=80=91check it with you.

I opened PR #21= 319 to promote a few ext/snmp invalid=E2=80=91input warnings to ValueError = (only for invalid inputs). Valid inputs behave the same; the goal is just t= o make errors catchable and consistent with other extensions.

If thi= s RFC passes, would a change like that be OK without a separate per=E2=80= =91function RFC? And are there any expectations you=E2=80=99d want contribu= tors to follow (tests, deprecation note, minor vs major timing)?

Hap= py to share more details if needed.

Thanks,
Pratik
--000000000000fb5bf8064ce0d812--