>
> Based on internal feedback, I have restructured the RFC to follow the 
> deprecations RFC format, with separate sections for each proposal.
>
> RFC: https://wiki.php.net/rfc/php86_valueerror_conversions
>
> Feedback is very welcome.
>

Thank you for your work on this RFC.

I have one more proposal if you'd like to group them together.

The `$message_type` parameter of the `error_log` function[^1] is also
not validated. Values 1, 3, and 4 are handled, with 2 throwing a
`ValueError`. The default value is 0, but it also accepts any other
integer value. Further, calling `error_log('', 42)` returns `true`,
which also hides that the `$message_type` value is invalid.




[^1]: https://www.php.net/manual/en/function.error-log.php

Reply via email to