来自专业的译者、企业、网页和免费的翻译库。
iterate over children
例 1iterate over children
最后更新: 2011-10-24
使用频率: 1
质量:
you can use this function to iterate over all children of a node as shown in the example.
this function returns the next sibling of the current node. if there is no next sibling it returns false. you can use this function to iterate over all children of a node as shown in the example.
最后更新: 2011-10-24
使用频率: 1
质量:
this simply gives an easy way to iterate over arrays. foreach works only on arrays, and will issue an error when you try to use it on a variable with a different data type or an uninitialized variables.
(php 3ではなく)php 4には、perlや他の言語とよく似た foreach 構文があります。これにより 配列要素に関する反復処理が容易になります。この構造には、 2種類の構文があります。2番目の構文はあまり知られていませんが、 最初の構文の便利な拡張になっています。
最后更新: 2011-10-24
使用频率: 1
质量: