php读取文件内容的几种方法和函数?

打开文件,然后读取。Fopen() fread()

打开读取一次完成 file_get_contents()

PHP面试题:php读取文件内容的几种方法和函数?_mysql