<?php $garfield = [ 'name' => 'garfield', 'color' => 'orange', 'species' => 'cat' ]; # Type cast this to an object type $garfield = (object) $garfield; var_dump($garfield);
You have javascript disabled. You will not be able to edit any code.