try { } and catch { } in php
I am just a newbie to `php`.Befoe this I have not done any programming language like C or C++.When I was looking some code for php over Google I saw there are same codes like `try{ }` and `catch { }`.I want to know what is the use of it?Why it is used?Any help and suggestions will be highly appreciable.
try { } and catch { } in php
===

I am just a newbie to `php`.Befoe this I have not done any programming language like C or C++.When I was looking some code for php over Google I saw there are same codes like `try{ }` and `catch { }`.I want to know what is the use of it?Why it is used?Any help and suggestions will be highly appreciable.