akses index object php code example
Example: php assign value to object
// $object->property = 'value';
// assigning a string
$person->first_name = 'John';
$person->last_name = "Doe";
// assigning a number - notice we don't have quotes around 32
$person->age = 32;