<?php
$obj = (object) 'ciao';
echo $obj->scalar; // выведет 'ciao'
?>
<?php
$object = new stdClass();
?>
https://api.instagram.com/v1/users/{user-id}/?access_token=ACCESS-TOKEN
{
"data": {
"id": "1574083",
"username": "snoopdogg",
"full_name": "Snoop Dogg",
"profile_picture": "http://distillery.s3.amazonaws.com/profiles/profile_1574083_75sq_1295469061.jpg",
"bio": "This is my bio",
"website": "http://snoopdogg.com",
"counts": {
"media": 1320,
"follows": 420,
"followed_by": 3410
}
}