The filesize() function returns the file size in ___________ gigabytes bits kilobytes bytes TRUE ANSWER : ? YOUR ANSWER : ?
The ........... function is used to read a single character from a file. fgetf() fgets() fgetc() fget() TRUE ANSWER : ? YOUR ANSWER : ?
What is the purpose of basename() function? Strips of the path and returns the file name Strips of the path and returns the folder name Returns the last accessed time of the file Returns the first accessed time of the file 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? fgetsp() fgetsa() fgetsh() fgetss() TRUE ANSWER : ? YOUR ANSWER : ?
The ............ function checks if the "end-of-file" (EOF) has been reached. f_of() feof() feofs() f_eof() TRUE ANSWER : ? YOUR ANSWER : ?
Which function sets the file filename’s last-modified and last-accessed times? sets() touched() set() touch() TRUE ANSWER : ? YOUR ANSWER : ?
Which function is useful when you want to output the executed command’s result? cmm() system() out_system() out_cmm() 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. False True 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 2 and 4 Option 3 and 5 Option 2, 4 and 5 TRUE ANSWER : ? YOUR ANSWER : ?