[php-src] PR #14672: WIP - RFC - json error message enhanced
| From: | juan-morales | Date: | Wed, 26 Jun 2024 13:07:22 +0000 |
| Subject: | [php-src] PR #14672: WIP - RFC - json error message enhanced | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-26829@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/14672
Author: juan-morales
I will propose this RFC today, but I did a PoC change just to have an idea about how to do it.
In short, the idea is to have better error messages, instead of having an error message saying
"Syntax Error", to have something like "Syntax Error - error at character X near
content " foo: bar }" .... 😄
This is still Work in progress.
Eventhough is not finished, and I have to write the email to the email list, I want to say ......
Thanks in advance @derickr because you gave me the idea, ... exactly on this moment of history:
[What's New in PHP 8.3 - Derick
Rethans](https://youtu.be/3U0DGhzSH2U?feature=shared&t=2480)
I also tag you @bukka so you know since now, that I am doing this, as all this part of php was
mainly ... you 😄
still Work In Progress, and will be done soon. Hope this change makes sense, and also makes PHP
greater.