Earlier versions of PHP version did not have a method to handle “No Exception Handle”. PHP 5.0 and above today supports this function by using catch blocks for errors and exception handling. Some Basics about Exception:  1-PHP throw and PHP catch:       This method will work by default by using