How we handle errors in PHP?Explain it?
In PHP we can handle errors easily.Because when error comes it gives error line with their respective line and send error message to the web browser. When we creating any web application and scripts. We should handle errors wisely.Because when this not handle properly it can make bg hole in security. In PHP we handle errors by using these methods: 1.Simple "die()" statements 2.Custom errors and error triggers 3.Error reporting