This should work:
$object->content->{'5'}
More Related Contents:
- Access object property with disallowed character in property name
- How can I access an array/object?
- How to access object properties with names like integers or invalid property names?
- Calling closure assigned to object property directly
- Serializing PHP object to JSON
- How to convert a string to JSON object in PHP
- How to create new property dynamically
- How to decode a JSON String with several objects in PHP?
- How can I access object properties with names like integers or invalid property names?
- Getting particular object
- How can I parse a JSON file with PHP? [duplicate]
- Reading JSON POST using PHP
- PHP Fatal error: Using $this when not in object context
- Property Property Property [title] does not exist on this collection instance does not exist on this collection instance does not exist on this collection instance
- json_decode returns NULL after webservice call
- Cannot use object of type stdClass as array?
- PHP json_encode encoding numbers as strings
- REST API – why use PUT DELETE POST GET?
- PHP json_decode() returns NULL with valid JSON?
- PHP OOP core framework
- Any way to return PHP `json_encode` with encode UTF-8 and not Unicode? [duplicate]
- Why is this PHP call to json_encode silently failing – inability to handle single quotes?
- JavaScript: How do I create JSONP?
- Send post request using Volley and receive in PHP
- Convert invalid json into valid json
- how to decode this JSON string?
- jQuery $.ajax request of dataType json will not retrieve data from PHP script
- Accessing JSON array after json_decode/multidimensional array
- PHP json_encode json_decode UTF-8
- PHP: How to encode infinity or NaN numbers to JSON?