Question:How many ways you can read a file?
Answer We can read a file using the following methods and modes:
Methods: file(), file_get_contents(), fgetcsv(), fgets(), fgetss(), fgetc(), fread(), readfile(), fscanf().
Modes: R, r+, w+, a+, x+.
+ Report
How many ways you can read a file?