Which one of the following function outputs the contents of a string variable to the specified resource? fwrite() filewrites() filewrite() fwrites() TRUE ANSWER : ? YOUR ANSWER : ?
Which of the following functions retrieve the entire contents of a file in such a way that it can be used as part of an expression?<br/>1. file_get_contents()<br/>2. fgets()<br/>3. fopen()<br/>4. file()<br/>5. readfile() Option 3 and 4 Option 2 and 4 Option 1 and 5 Option 1 and 4 TRUE ANSWER : ? YOUR ANSWER : ?
The ........... function is used to read a single character from a file. fget() fgetc() fgets() fgetf() TRUE ANSWER : ? YOUR ANSWER : ?
The filesize() function returns the file size in ___________ bytes kilobytes gigabytes bits TRUE ANSWER : ? YOUR ANSWER : ?
Which one of the following function is capable of reading a file into a string variable? file_get_contents() file_content() file_contents() file_get_content() TRUE ANSWER : ? YOUR ANSWER : ?
Which one of the following function is capable of reading a specific number of characters form a file? filegets() fileget() fget() fgets() TRUE ANSWER : ? YOUR ANSWER : ?
Which one of the following function reads a directory into an Array? scandirectory() readdir() readdirectory() scandir() TRUE ANSWER : ? YOUR ANSWER : ?
What is the purpose of basename() function? Strips of the path and returns the folder name Strips of the path and returns the file name Returns the first accessed time of the file Returns the last accessed time of the file TRUE ANSWER : ? YOUR ANSWER : ?
Which function sets the file filename’s last-modified and last-accessed times? sets() touch() set() touched() TRUE ANSWER : ? YOUR ANSWER : ?