php, conver array to obj code example Example: php convert array to object $object = (object) $array;