Answer Posted / rishi (dipu lari)
PHP 5 has an exception model similar to that of other
programming languages. An exception can be thrown, and
caught ("catched") within PHP. Code may be surrounded in a
try block, to facilitate the catching of potential
exceptions. Each try must have at least one corresponding
catch block. Multiple catch blocks can be used to catch
different classes of exeptions. Normal execution (when no
exception is thrown within the try block, or when a catch
matching the thrown exception's class is not present) will
continue after that last catch block defined in sequence.
Exceptions can be thrown (or re-thrown) within a catch block.
| Is This Answer Correct ? | 13 Yes | 2 No |
Post New Answer View All Answers
What is button in html?
Distinguish between urlencode and urldecode?
Php says that an array is an ordered map. But how the values are ordered in an array?
Which is variable cost?
What is laravel php?
What is overloading in php?
How to convert one date format into another in php?
How can you upload a file using php?
How the result set of mysql be handled in php?
Tell me what is the use of the function htmlentities?
Is time a dependent variable?
What is inheritance in php with example?
Is empty in excel?
How can you increase the maximum execution time of a script in php?
How to replace a substring in a given string in php?