[object object ] in php code example
Example 1: object php
//object init
$object = (object) [
'propertyOne' => 'foo',
'propertyTwo' => 42,
];
Example 2: php define object
$x = new stdClass();
//object init
$object = (object) [
'propertyOne' => 'foo',
'propertyTwo' => 42,
];
$x = new stdClass();