how to convert an array into a standard object in php code example Example: php convert array to object $object = (object) $array;