1.

Which of the following statements causes PHP to disregard repeated error messages that occur within the same file and on the same line?(a) ignore_repeated_errors(b) ignore_repeat_error(c) repeatedly_ignore_error(d) repeated_error_ignoreThis question was addressed to me in a national level competition.Query is from Error Handling topic in chapter Error Handling and Exception Handling in PHP of PHP

Answer»

Correct answer is (a) ignore_repeated_errors

The EXPLANATION is: ignore_repeated_errors will not LOG repeated messages. The repeated errors must occur in the same file on the same line UNLESS ignore_repeated_source is set to TRUE.



Discussion

No Comment Found

Related InterviewSolutions