PHP MCQ Questions and Answers
Practice ModeShowing 10 of 130 questions
Q11
Identify the variable scope that is not supported by PHP
Answer: Option C
Q12
Variable scope on which a variable does not loose its value when the function exists and use that value if the function is called again is:
Answer: Option C
Q13
The left association operator % is used in PHP for
Answer: Option D
Q14
The left associative dot operator (.) is used in PHP for
Answer: Option B
Q15
Trace the false statement
Answer: Option B
Q16
Which of the following functions require the allow-url-fopen must be enabled?
Answer: Option C
Q17
Which function includes the specified file even the statement evaluates to false in which block the function is placed.
Answer: Option B
Q18
On failure of which statement the script execution stops displaying error/warning message?
Answer: Option B
Q19
Trace the function that does continue the script execution even if the file inclusion fails
Answer: Option A
Q20
A script is a
Answer: Option B