-6
stdClass Object
(
    [entities] => stdClass Object
        (
            [urls] => Array
                (
                    [0] => stdClass Object
                        (
                            [url] => asdl;kfas.com
                            [expanded_url] => http://HOWDOIPRINTTHISURL.com
                            [display_url] => asdlkfsldfj.com
                        )

                )

        )

)

当我为变量 $fullurl 执行 print_r 时,我得到了上面的代码。我将如何打印显示“ http://HOWDOIPRINTTHISURL.com ”的部分?谢谢

4

1 回答 1

2
print $fullurl->entities->urls[0]->expanded_url;
于 2013-04-08T21:01:37.577 回答