What is the difference between stat() and fstat()?
A. While stat() works on open file pointers, fstat() works on files specified by pathname
B. While fstat() works on open file pointers, stat() works on files specified by pathname
C. fstat() has nothing to do with files
D. stat() has nothing to do with files
E. fstat() is an alias of stat()
Answer: Option B
The filesize() function returns the file size in ___________
A. bits
B. bytes
C. kilobytes
D. gigabytes
Which one of the following PHP function is used to determine a file’s last access time?
A. fileltime()
B. filectime()
C. fileatime()
D. filetime()
Which one of the following function is capable of reading a file into an array?
A. file()
B. arrfile()
C. arr_file()
D. file_arr()
Which one of the following function is capable of reading a file into a string variable?
A. file_contents()
B. file_get_contents()
C. file_content()
D. file_get_content()
Join The Discussion