Posts Tagged ‘catch in php’

try and catch block in php

Thursday, October 30, 2008 8:47 No Comments

Exception handling is used to change the normal flow of the code execution if a specified error (exceptional) condition occurs. This condition is called an exception. Try block is used to try for the code to execute if any error like file unable to open etc.. It will stop the execution and it will throw [...]

This was posted under category: PHP, Programming Tags: , , ,