Re: [RFC] Exempt input type and value validation from BC Break policy

From: Date: Mon, 02 Mar 2026 13:49:45 +0000
Subject: Re: [RFC] Exempt input type and value validation from BC Break policy
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-130222@lists.php.net to get a copy of this message
Am 02.03.2026 um 14:13 schrieb Gina P. Banyard <internals@gpb.moe>: > I would like to propose a short policy RFC to formally exempt input type and value validation > from our BC Break policy. > The current wording of the policy already permits us to add validation of inputs, but recently > any such changes have been asked to submit an RFC instead. > We believe that requiring an RFC for this type of change is detrimental and adds unnecessary > friction for routine maintenance activity and new contributors. > > RFC: > https://wiki.php.net/rfc/policy-exempt-type-value-error-bc-policy Playing my favourite broken record: Can we please state that additions of Exceptions should (in most cases) go through an E_WARNING phase to allow a time window to fix code before changing the behaviour? I'm fine with not needing an RFC for such changes as long as the migration process is being respected. Regards, - Chris

« previous php.internals (#130222) next »