Home  >  Article  >  php教程  >  遍历目录,获取文件中的中文

遍历目录,获取文件中的中文

PHP中文网
PHP中文网Original
2016-05-25 17:09:091274browse

跳至

 $v ) {
			if (! empty ( $v )) {
				$wordList [$v] = $v; // 去重
			}
		}
	}
}
function help() {
	echo "	
	==============================================
	请按以下参数运行
	php getChineseWord.php 文件夹 > 生成的文件名
	==============================================
";
	die ();
}

                   

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn