mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Merge branch 'PHP-7.0'
This commit is contained in:
commit
fa5f28a0a1
3 changed files with 34 additions and 1 deletions
|
@ -254,7 +254,7 @@ static PHP_FUNCTION(json_decode)
|
|||
return;
|
||||
}
|
||||
|
||||
JSON_G(error_code) = 0;
|
||||
JSON_G(error_code) = PHP_JSON_ERROR_NONE;
|
||||
|
||||
if (!str_len) {
|
||||
JSON_G(error_code) = PHP_JSON_ERROR_SYNTAX;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue