[PHP-DEV] [VOTE] Display Function Arguments in Errors

I'm opening up the vote on this RFC.

Wiki page: PHP: rfc:display_error_function_args
Internals thread: [RFC] Display Function Arguments in Errors - Externals

There are three votes to cast, and the voting should end on
2026-05-15T21:00:00Z.

Regards,
Calvin

On Fri, May 1, 2026, at 10:33 AM, Calvin Buckley wrote:

I'm opening up the vote on this RFC.

Wiki page: PHP: rfc:display_error_function_args
Internals thread: [RFC] Display Function Arguments in Errors - Externals

There are three votes to cast, and the voting should end on
2026-05-15T21:00:00Z.

Regards,
Calvin

The 3rd voting widget appears to still be closed.

--Larry Garfield

On May 2, 2026, at 12:47 PM, Larry Garfield <larry@garfieldtech.com> wrote:

On Fri, May 1, 2026, at 10:33 AM, Calvin Buckley wrote:

I'm opening up the vote on this RFC.

Wiki page: PHP: rfc:display_error_function_args
Internals thread: [RFC] Display Function Arguments in Errors - Externals

There are three votes to cast, and the voting should end on
2026-05-15T21:00:00Z.

Regards,
Calvin

The 3rd voting widget appears to still be closed.

--Larry Garfield

I fixed the vote here; looks like it was just an unclosed quote.

On May 1, 2026, at 12:33 PM, Calvin Buckley <calvin@cmpct.info> wrote:

I'm opening up the vote on this RFC.

Wiki page: https://wiki.php.net/rfc/display_error_function_args
Internals thread: [RFC] Display Function Arguments in Errors - Externals

There are three votes to cast, and the voting should end on
2026-05-15T21:00:00Z.

Regards,
Calvin

Voting should be over. The main vote for the RFC passed. The subvotes
for default value indicate it should be set to "0" in the INI & tests.

The votes:

Add a error_include_args INI setting as described (2/3 majority wins):
24 yea, 2 nay, 1 abs

Default value for error_include_args (>50% wins):
7 for "1", 18 for "0", 1 abs

If error_include_args defaults to 1, default value in run-tests.php (>50% wins):
1 for "1", 7 for "0", 7 abs
(this one not relevant as the preceding one didn't succeed)

I will mark this RFC as accepted; the PR should be ready for review.