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";
私にとってはうまくいきます。