Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is exception in php?

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


Please Help Members By Posting Answers For Below Questions

Tell me how can you pass a variable by reference?

954


Is php easier than node?

937


What is the best way to avoid email sent through php getting into the spam folder?

994


How arrays are passed through arguments?

1068


Is empty check in php?

1034


What are some of the advanced features of php?

997


What are the rules to declare a php variables?

1154


What would occur if a fatal error was thrown in your php program?

1061


What is the purpose of using php?

1047


What is the difference between query and question?

965


Explain about the connective abilities of the PHP?

1030


if you run the app program all vendor open items are cleared but is it possible to reverse the again again open items please tell me the answer

1918


Explain PHP looping?

1026


Why do we use htaccess

1069


What is the array in php?

1019