中英
迭代器的使用
  • 翻译

The use of iterators

以上为机器翻译结果,快速获取精准的人工翻译结果,建议选择有道人工翻译

  • 双语例句
  • 1
    任何无效迭代使用都可能导致运行时错误,但程序不一定会崩溃,否则检查这种错误也许会容易些。
    Any use of an invalidated iterator is likely to yield a run-time error, but there is no guarantee that the program will crash or otherwise make it easy to detect the problem.
  • 2
    Recur siveDirectoryIterator是一种兼容迭代,下面展示如何使用它向归档添加目录文件。
    One such compatible iterator is the RecursiveDirectoryIterator, which is used below to add the files in a directory to the archive.
  • 3
    它们与php中其他迭代使用相同工作方式,但是它们分别针对不同的情况。
    These work the same as the other iterator classes in PHP, but they are specially designed for certain instances.
查看更多