主页
PHP
PHP ftell() 函数
demo_func_filesystem_ftell
运行 ❯
×
更改方向
保存代码
更改主题
<?php $file = fopen("test.txt","r"); // Print current position echo ftell($file); // Change current position fseek($file,"15"); // Print current position again echo "
" . ftell($file); fclose($file); ?>
0
15