diff --git a/reference/json/functions/json-decode.xml b/reference/json/functions/json-decode.xml index 994418c637..0a7c87e6cf 100644 --- a/reference/json/functions/json-decode.xml +++ b/reference/json/functions/json-decode.xml @@ -119,7 +119,12 @@ array(5) { - Another example + Accessing invalid object properties + + Accessing elements within an object that contain characters not + permitted under PHP's naming convention (e.g. the hyphen) can be + accomplished by encapsulating the element name within braces and the apostrophe. +