Thank you all for the feedback on the topic of BC breaks in argument
validation https://news-web.php.net/php.internals/126706

I have collected all concerns, prepared an RFC for this change, and I'm
opening discussion on its content:
https://wiki.php.net/rfc/minor-version-compatibility

Since this touches on the broader topic of release policy and BC
expectations, I’d also like to open the door for related improvements.
Rowan raised several valid points that highlight the need for clearer
communication and expectations around minor version changes. If the
community feels it's appropriate, I’m happy to include these suggestions in
the voting. The more clearly BC policy is defined, the less time we’ll need
to spend on debating individual cases in the future.

Rowan’s suggestions included examples like:

Maybe we could work on some criteria that could be applied (and publicised
to users) about what is and isn't allowed in minor versions.
For instance:

   -

   Code that already causes fatal behaviour might cause different fatal
   behaviour (e.g. throwing an Error instead of raising an E_ERROR)
   -

   Code that directly violates documented types might start throwing
   TypeError
   -

   Code that previously returned null for invalid inputs might start
   throwing ValueError

Kind regards,
Jorg

Reply via email to