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 the use of rand() in php?
What is the apache?
Is age nominal or ordinal?
Is learning php easy?
How to create a public static method in PHP?
What are the two main string operators?
Is php an oop?
How to check curl is enabled or not in PHP
How to convert strings in hex format?
How to write comment in php?
What is a trait in php?
Explain whether it is possible to share a single instance of a memcache between multiple php projects?
Tell me what does pear stands for?
What enctype is required for file uploads to work?
Can we run php in apache tomcat?