Hi

On 6/30/24 15:43, juan carlos morales wrote:
So, what I see here in my shortexperiencie is an RFC with 3 Options

That is not an option. Each RFC needs a clear primary vote that is a "Yes/No" vote.

1) Enhance the error message we already have

2) keep json_last_error_msg as it is and add a new function
json_last_error_info function

3) both


Adjusting error messages to make them better is not something that requires an RFC. We do this all the time without an RFC. Here's an example PR: https://github.com/php/php-src/pull/14496

A new json_last_error_info() for easier programmatic access of the important bits can still be considered, but would not need an RFC either from my point of view. It's a simple and obvious addition. Those can be done without an RFC, unless someone complains.

Best regards
Tim Düsterhus

Reply via email to