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