map() map(\Closure $callback) Load dict. [ '响应时间' => "[\t]xiǎng[\t]yìng[\t]shí[\t]jiān", '长篇连载' => '[\t]cháng[\t]piān[\t]lián[\t]zǎi', //... ] Parameters \Closure $callback
openFile() openFile(string $filename, string $mode = 'r') : \SplFileObject Construct a new file object. Parameters string $filename file path string $mode file open mode Returns \SplFileObject
getGenerator() getGenerator(array $handles) : \Generator get Generator syntax. Parameters array $handles SplFileObjects Returns \Generator
traversing() traversing(\Generator $generator, \Closure $callback) Traverse the stream. Parameters \Generator $generator \Closure $callback