Which one of the following function is capable of reading a specific number of characters form a file? fget() fgets() filegets() fileget() TRUE ANSWER : ? YOUR ANSWER : ?
Which one of the following function is capable of reading a file into a string variable? file_get_content() file_get_contents() file_contents() file_content() TRUE ANSWER : ? YOUR ANSWER : ?
The ............ function checks if the "end-of-file" (EOF) has been reached. f_eof() feof() f_of() feofs() TRUE ANSWER : ? YOUR ANSWER : ?
Which one of the following function is capable of reading a file into an array? file() arrfile() file_arr() arr_file() TRUE ANSWER : ? YOUR ANSWER : ?
Which of the following functions reads the entire contents of a file?<br/>1. fgets()<br/>2. file_get_contents()<br/>3. fread()<br/>4. readfile()<br/>5. file() Option 1, 3 and 4 Option 3 and 5 Option 2, 4 and 5 Option 2 and 4 TRUE ANSWER : ? YOUR ANSWER : ?
Which one of the following function operates similarly to fgets(), except that it also strips any HTML and PHP tags form the input? fgetsa() fgetsh() fgetss() fgetsp() TRUE ANSWER : ? YOUR ANSWER : ?
The filesize() function returns the file size in ___________ gigabytes bytes bits kilobytes TRUE ANSWER : ? YOUR ANSWER : ?
What should you do if your script is having problem recognizing file endings from a text file saved on a platform different from the one you’re reading it on? Read the file one character at a time Change the auto_detect_line_endings INI setting Use ftok() Use fpos() Use a regular expression to detect the last letter of a line TRUE ANSWER : ? YOUR ANSWER : ?
Which one of the following function reads a directory into an Array? readdirectory() readdir() scandirectory() scandir() TRUE ANSWER : ? YOUR ANSWER : ?
flock() is used to unlock a file so that two or more people do not get access to it at the same time. True False TRUE ANSWER : ? YOUR ANSWER : ?