Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
此代码在我的系统上的行为与例如在键盘上的行为不同,我不明白为什么。
http://codepad.org/jBmXRgyY
我系统上的输出只有 0。
有谁知道在哪里看?
自己找到了解决方法。
foreach($chstr->channel->children() as $test) echo (string)$test."\n";
对我来说很好。