PHP MCQs with answers Page - 73

Dear candidates you will find MCQ questions of PHP here. Learn these questions and prepare yourself for coming examinations and interviews. You can check the right answer of any question by clicking on any option or by clicking view answer button.
Share your questions by clicking Add Question

T

Team MCQ Buddy • 20.45K Points
Instructor III

Q. To call more than one function of the class in single instruction_______ is uesd?

  • (A) Method chaining
  • (B) Method Including
  • (C) Method adding
  • (D) Typecasting

T

Team MCQ Buddy • 20.45K Points
Instructor III

Q. In PHP which of the following magic method is used for implementing overloading?

  • (A) __wakeup
  • (B) __invoke
  • (C) __call
  • (D) __unset

T

Team MCQ Buddy • 20.45K Points
Instructor III

Q. Thre are ______ level of error in PHP?

  • (A) 14
  • (B) 15
  • (C) 16
  • (D) 17

T

Team MCQ Buddy • 20.45K Points
Instructor III

Q. _______ is the description of Error level E_ERROR in PHP.

  • (A) Fatal Compile-time error
  • (B) Near-fatal error
  • (C) Compile-time error
  • (D) Fatal run-time error

T

Team MCQ Buddy • 20.45K Points
Instructor III

Q. E_STRICT Error level was introduced in__________ version of PHP?

  • (A) PHP 5
  • (B) PHP 4
  • (C) PHP 5.2
  • (D) PHP 5.3

T

Team MCQ Buddy • 20.45K Points
Instructor III

Q. _______ character do the error _reporting directive use to represent the logical operator NOT.

  • (A) ~
  • (B) !
  • (C) /
  • (D) ^

T

Team MCQ Buddy • 20.45K Points
Instructor III

Q. Function which is responsible for sending a custom message to the system log?

  • (A) systemlog()
  • (B) syslog()
  • (C) log_system()
  • (D) sys_log()

T

Team MCQ Buddy • 20.45K Points
Instructor III

Q. Exception handling was added with ______ version of PHP.

  • (A) PHP 4
  • (B) PHP 6
  • (C) PHP 5.3
  • (D) PHP 5

T

Team MCQ Buddy • 20.45K Points
Instructor III

Q. there are__________ methods available for the exception class?

  • (A) 5
  • (B) 6
  • (C) 7
  • (D) 8

Download our easy to use, user friendly Android App from Play Store. And learn MCQs with one click.

Image

Login

Forgot username? click here

Forgot password? Click here

Don't have account? Register here.