PHP filesystem

MCQsQuestion.com has 7 Question/Answers about Topic PHP filesystem

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

Which function is used to set a modification time, and creates a file if it is not exist
  • A. unlink ( )
  • B. stat ( )
  • C. touch ( )
  • D. symlink ( )
  • Correct Answer: Option C

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

Unlike fopen ( ), result of fclose ( ) does not need to be assigned
  • A. To a variable
  • B. To a string
  • C. To a function
  • D. To a parameter
  • Correct Answer: Option A

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

A socket is a kind of dedicated program that allows different programs to
  • A. Communicate
  • B. Send messages between them
  • C. Create connection with web server
  • D. All of them
  • Correct Answer: Option D

Fileperms ( ) function returns what?

Fileperms ( ) function returns what?
  • A. Returns file permission level
  • B. Returns file parameters
  • C. Returns file modification time
  • D. None of them
  • Correct Answer: Option A

A large number of PHP functions are duplicated from

A large number of PHP functions are duplicated from
  • A. Windows
  • B. Macintosh
  • C. Unix
  • D. All of them
  • Correct Answer: Option C

Mktime ( ) function allows you to convert any date into a

Mktime ( ) function allows you to convert any date into a
  • A. String
  • B. Characters
  • C. Timestamp
  • D. None of them
  • Correct Answer: Option C

Fpassthru ( ) function writes result into a

Fpassthru ( ) function writes result into a
  • A. Output buffer
  • B. String
  • C. Register
  • D. None of them
  • Correct Answer: Option A