0

此代码在我的系统上的行为与例如在键盘上的行为不同,我不明白为什么。

http://codepad.org/jBmXRgyY

我系统上的输出只有 0。

有谁知道在哪里看?

4

1 回答 1

0

自己找到了解决方法。

foreach($chstr->channel->children() as $test)
    echo (string)$test."\n";

对我来说很好。

于 2013-09-11T06:57:48.690 回答