php OOP İstisnalar veya kalıp (?)

0 Cevap php

I am developing some project. And I want to control different errors. I know that in all popular frameworks and php projects there are different Exceptions. But I think that is not required work. If the error is occured we can make die() with our message. 1. What are the main pluses of Exceptions? 2. Can I control my errors with die()?

Teşekkür ederim.

0 Cevap