diff --git a/reference/json/functions/json-last-error.xml b/reference/json/functions/json-last-error.xml index d5511e52f0..35cdc53843 100644 --- a/reference/json/functions/json-last-error.xml +++ b/reference/json/functions/json-last-error.xml @@ -1,5 +1,5 @@ - + json_last_error @@ -25,7 +25,8 @@ &reftitle.returnvalues; - Returns an integer, the value can be one of the following: + Returns an integer, the value can be one of the following + constants: JSON error codes @@ -39,15 +40,15 @@ JSON_ERROR_NONE - No error have occured + No error has occured JSON_ERROR_DEPTH - The maximum stack depth have been exceeded + The maximum stack depth has been exceeded JSON_ERROR_CTRL_CHAR - Control character error, possibly wrongly encoded + Control character error, possibly incorrectly encoded JSON_ERROR_SYNTAX @@ -70,7 +71,7 @@ $json[] = '{"Organization": "PHP Documentation Team"}'; // An invalid json string which will cause an syntax -// error, in this cause we used ' instead of " for quotation +// error, in this case we used ' instead of " for quotation $json[] = "{'Organization': 'PHP Documentation Team'}"; diff --git a/reference/json/versions.xml b/reference/json/versions.xml index e081565d0d..6f72465471 100644 --- a/reference/json/versions.xml +++ b/reference/json/versions.xml @@ -1,12 +1,12 @@ - + - +