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
Xplain is it possible to use com component in php?
Can you give example for trait in php?
How to read a file in php?
How to remove blank spaces from the string?
How you can update memcached when you make changes to php?
What are psrs?
How do you use an array in excel?
How can you upload a file using php?
What is php and its features?
what is variable scope, which variables are accessible from where and what are "undefined variable" errors?
What is difference between base_url and site_url?
What is the difference between Session and Cookie?
How does php server work?
What is a comment in php?
What is php and sql used for?