ExamVeda
Login
Home
1
How many error levels are available in PHP?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
2
What is the description of Error level E_ERROR?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
3
Which version of PHP introduced E_STRICT Error level?
Discuss
Answer & Solution
Answer: Option B
Solution:
Description for E_STRICT is PHP version portability suggestions
4
Which character do the error_reporting directive use to represent the logical operator NOT?
Discuss
Answer & Solution
Answer: Option C
Solution:
The twidle (~) character is used to represent the logical operator NOT.
5
Say you want to report error concerned about fatal run-time, fatal compile-time error and core error which statement would you use?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
6
Which version introduced the function error_get_last()?
Discuss
Answer & Solution
Answer: Option C
Solution:
This function returns an associative array consisting of the type, message, file, and line of the last occurring error.
7
Which of the following statements causes PHP to disregard repeated error messages that occur within the same file and on the same line?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
8
Which function initializes the constants necessary for using the openlog(), clodelog(), and syslog() functions?
Discuss
Answer & Solution
Answer: Option D
Solution:
If you’re running PHP version 5.2.X or older, you need to execute this function before using any of the following logging functions.
9
Which logging option’s description is, if an error occurs when writing to the syslog, send output to the system console?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
10
Which function is responsible for sending a custom message to the system log?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board