1.
Which function is used to open a file in PHP?
2.
What is the purpose of the 'r' mode when opening a file in PHP?
3.
Which function is used to read a single line from a file in PHP?
4.
How do you close a file after reading from it in PHP?
5.
Which mode should be used to open a file for writing in PHP?
6.
What does the 'a' mode do when opening a file in PHP?
7.
Which function is used to write data to a file in PHP?
8.
What happens if you try to open a non-existent file in 'r' mode?
9.
Which function is used to check if a file exists in PHP?
10.
What is the purpose of the 'b' mode when opening a file in PHP?