Access to object type data in PHP

Sep 6, 2020 PHP Type Object

There is a type called `object`. It seems to be used like an array, but it is how to access the element.
$ a = $ object-> ['property'];

This means that the variable $ a stores the value of the property property of $ object.