<?php $animal = array('type' => 'dog', 'name' => 'Max'); $b = (object) $animal; var_dump($b);
You have javascript disabled. You will not be able to edit any code.