adplus-dvertising
frame-decoration

Question

File_get_contents function returns entire contents of a file as

a.

Integer

b.

String

c.

Character

d.

None of them

Posted under PHP

Answer: (b).String

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. File_get_contents function returns entire contents of a file as

Similar Questions

Discover Related MCQs

Q. Any string can be broken up into an array by using

Q. For seeing last time modification of a file, which function is used

Q. If you would like to read a file character by character which function do you use?

Q. Which function is used to set a modification time, and creates a file if it is not exist

Q. Function fread ( ) has

Q. Fsockopen ( ) function opens socket connection to specified

Q. If you want to make a file public, PHP sets by default its permission to

Q. Which function returns and caches size of a file in bytes?

Q. Unlike fopen ( ), result of fclose ( ) does not need to be assigned

Q. Syslog function allows you to

Q. HTTP fopen tries to open an HTTP 1.0 connection to a file of a type

Q. Which function is identical to fsockopen ( )

Q. Rmdir (directory) function is used for

Q. A socket is a kind of dedicated program that allows different programs to

Q. Web and database servers communicate via

Q. Fpassthru ( ) function reads all data from current position in an open file until

Q. Fclose ($fd) is an example of

Q. $hostname, $port, [error number, error string, timeout in seconds] all are parameters of

Q. Fileperms ( ) function returns what?

Q. How many types of calendars are offered by PHP?