объект

Объект $user

Компоненты объекта $user:

uid - User ID
name - User name
pass - Encrypted password
mail - User current email address
theme - Name of the theme shown for this user (no longer changeable in core but can be in contrib)
signature - Signature as set in the user account settings
signature_format - Text format to apply to signature
created - Unix timstamp for when the account was created

Превращаем массив в объект

Легко и небрежно:
<?php
$massiv
['name']=$time;
print(
$massiv['name']);
Подписка на объект