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 difference between super () and this ()?
Why php language is used?
Is it possible to submit a form with a dedicated button?
What kind of variable is age?
What is difference between post and put in rest?
What is strcmp () in php?
Will react hooks replace redux?
Why json is used in php?
What is the difference between pop3 IMAP and MAPI?
Is php a middleware?
What is T_PAAMAYIM_NEKUDOTAYIM?
What is the difference between md5(), crc32() and sha1() crypto on php?
Why should I learn php?
Explain the difference between mysql_connect and mysql_pconnect?
What is the scope of a variable defined in a function?