$a = new stdClass();
$a->b = 'c';
print $a->b; //c
http://php.net/manual/ru/language.types.object.php#language.types.object.casting
$a->b = 'c';
print $a->b; //c
http://php.net/manual/ru/language.types.object.php#language.types.object.casting
Комментариев нет:
Отправить комментарий