• HOME
  • QUIZ
  • CONTACT US
EXAMIANS
  • COMPUTER
  • CURRENT AFFAIRS
  • ENGINEERING
    • Chemical Engineering
    • Civil Engineering
    • Computer Engineering
    • Electrical Engineering
    • Mechanical Engineering
  • ENGLISH GRAMMAR
  • GK
  • GUJARATI MCQ

PHP File System

PHP File System
Which function sets the file filename’s last-modified and last-accessed times?

touch()
set()
sets()
touched()

ANSWER DOWNLOAD EXAMIANS APP

PHP File System
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?
1. file_get_contents()
2. fgets()
3. fopen()
4. file()
5. readfile()

Option 3 and 4
Option 1 and 5
Option 2 and 4
Option 1 and 4

ANSWER DOWNLOAD EXAMIANS APP

PHP File System
fgets() is used to read a file one line at a time.

False
True

ANSWER DOWNLOAD EXAMIANS APP

PHP File System
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

ANSWER DOWNLOAD EXAMIANS APP

PHP File System
Which one of the following function is capable of reading a file into an array?

file()
file_arr()
arr_file()
arrfile()

ANSWER DOWNLOAD EXAMIANS APP

PHP File System
The filesize() function returns the file size in ___________

bits
bytes
gigabytes
kilobytes

ANSWER DOWNLOAD EXAMIANS APP
MORE MCQ ON PHP File System

DOWNLOAD APP

  • APPLE
    from app store
  • ANDROID
    from play store

SEARCH

LOGIN HERE


  • GOOGLE

FIND US

  • 1.70K
    FOLLOW US
  • EXAMIANSSTUDY FOR YOUR DREAMS.
  • SUPPORT :SUPPORT EMAIL ACCOUNT : examians@yahoo.com

OTHER WEBSITES

  • GUJARATI MCQ
  • ACCOUNTIANS

QUICK LINKS

  • HOME
  • QUIZ
  • PRIVACY POLICY
  • DISCLAIMER
  • TERMS & CONDITIONS
  • CONTACT US
↑