Hey Muhammed,

On Tue, 3 Mar 2026 at 09:38, Muhammed Arshid KV <[email protected]>
wrote:

> Hi everyone,
>
> This is to announce the opening of the vote for the *ValueError
> Conversions RFC*.
>
> RFC:  https://wiki.php.net/rfc/php86_valueerror_conversions
> Discussion thread:  https://externals.io/message/130090
>
> The vote will be open for 2 weeks (and a few hours), closing on March 17th
> at midnight UTC.
>
> Cheers,
> Muhammed Arshid
>
I voted "yes" on most options except `error_log()`.

My rationale is that while hardening the filesystem-related functions you
noted in the RFC may highlight system issues, or even prevent security
issues, the `error_log()` function is everywhere in legacy code, and it
does not pose any risk if the parameters are misused (and silently ignored).

In fact, `error_log()` should not be used, but rather replaced by calls to
any PSR-3 compliant logger anyway.

Changing `error_log()` poses only burden on those that still have it in
their codebases.

Marco Pivetta

https://mastodon.social/@ocramius

https://ocramius.github.io/

Reply via email to