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+. 


Deprecated: html_entity_decode(): Passing null to parameter #1 ($string) of type string is deprecated in D:\webserver\www\vcampusbd.com\answers\column_answer_two.php on line 128
+ Report
Total Preview: 869
How many ways you can read a file?

Copyright © 2024. Powered by Intellect Software Ltd