Php Interview Questions & Answers: part11



Php Interview QUESTIONS AND ANSWERS :: part11 : 6 to 10

Following PHP Multiple choice objective type questions and answers will help you in many software compnaies written examinations and inteview 2015 :

6.Which one of the following function is capable of reading a file into a string variable?

file_contents()
file_get_contents()
file_content()
file_get_content()

7.Which one of the following function operates similarly to fgets(), except that it also strips any HTML and PHP tags form the input?

fgetsh()
fgetsp()
fgetsa()
fgetss()

8.Which one of the following function reads a directory into an Array?

scandir()
readdir()
scandirectory()
readdirectory()

9.Which one of the following function is capable of reading a file into an array?

file()
arrfile()
arr_file()
file_arr()

More Php Interview QUESTIONS AND ANSWERS available in next pages

    Health is the greatest gift, contentment is the greatest wealth -Buddha
The only place where success comes before work is in the dictionary.- Vidal Sassoon