主页
PHP
PHP fgetc() 函数
demo_func_filesystem_fgetc2
运行 ❯
×
更改方向
保存代码
更改主题
<?php $file = fopen("test.txt","r"); while (! feof($file)) { echo fgetc($file); } fclose($file); ?>
Hello, this is a test file. There are three lines here. This is the last line.