php is converting posted array to object code example Example: php convert array to object $object = (object) $array;