Php Objective Questions with Answers for written test exams 26

Question 26
Which of the following can be used to determine if a file is readable?

A. stat()

B. is_readable()

C. filetype()

D. fileowner()

E. finfo()
Answers 26


The correct answers are A and B. stat() returns an array of information about a

file, including who owns it and what its permission mode is.Together these are

sufficient to tell if a file is readable. is_readable(), as the name implies, returns

true if a file is readable.

  







Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---