arrays - How would I print this in PHP -


stdclass object (     [entities] => stdclass object         (             [urls] => array                 (                     [0] => stdclass object                         (                             [url] => asdl;kfas.com                             [expanded_url] => http://howdoiprintthisurl.com                             [display_url] => asdlkfsldfj.com                         )                  )          )  ) 

when print_r variable $fullurl code above. how print part says 'http://howdoiprintthisurl.com'? thanks

print $fullurl->entities->urls[0]->expanded_url; 

Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -