11. Which of the following functions retrieve the entire contents of a file in such a way that it can be used as part of an expression?
1. file_get_contents()
2. fgets()
3. fopen()
4. file()
5. readfile()
1. file_get_contents()
2. fgets()
3. fopen()
4. file()
5. readfile()
12. fgets() is used to read a file one line at a time.
13. What is the difference between stat() and fstat()?
14. flock() is used to unlock a file so that two or more people do not get access to it at the same time.
15. Which of the following functions reads the entire contents of a file?
1. fgets()
2. file_get_contents()
3. fread()
4. readfile()
5. file()
1. fgets()
2. file_get_contents()
3. fread()
4. readfile()
5. file()