主页
PHP
PHP file() 函数
demo_func_filesystem_file
运行 ❯
×
更改方向
保存代码
更改主题
<?php print_r(file("test.txt")); ?>
Array ( [0] => Hello, this is a test file. [1] => There are three lines here. [2] => This is the last line. )