Skip to content

json_last_error_msg - better message - error position near by #18866

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
fix test json_encode_exceptions.phpt
  • Loading branch information
juan-morales committed Jun 17, 2025
commit 765d57490b4b3fdd4f6223f1878144e17c4dbc31
8 changes: 4 additions & 4 deletions ext/json/tests/json_encode_exceptions.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,17 @@ object(JsonException)#1 (7) {
["code":protected]=>
int(5)
["file":protected]=>
string(67) "/home/usuario/dev/php-src/ext/json/tests/json_encode_exceptions.php"
string(%d) "%s"
["line":protected]=>
int(4)
int(%d)
["trace":"Exception":private]=>
array(1) {
[0]=>
array(4) {
["file"]=>
string(67) "/home/usuario/dev/php-src/ext/json/tests/json_encode_exceptions.php"
string(%d) "%s"
["line"]=>
int(4)
int(%d)
["function"]=>
string(11) "json_encode"
["args"]=>
Expand Down