# [RFC] Updated: PHP 8.6 ValueError Conversions

- Thread: https://externals.io/message/130100
- Original archive: https://news-web.php.net/php.internals/130100
- Started by Muhammed Arshid KV on 2026-02-20T02:22:38+00:00
- Messages: 2
- RFC: Grouped ValueError Conversions (Inactive) — https://externals.io/rfc/php86_valueerror_conversions.md
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · RFCs at https://externals.io/rfc.md · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #130100 — Muhammed Arshid KV — 2026-02-20T02:22:38+00:00

URL: https://externals.io/message/130100#130100

Hi internals,

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.

Thanks,
Muhammed Arshid

---

## #130113 — Ayesh Karunaratne — 2026-02-20T19:42:26+00:00

URL: https://externals.io/message/130100#130113 · In reply to: #130100

>
> 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
