I wonder if a list of php runtime errors exist?
And if not, please tell me: are these php runtime errors?
- Calling unset variable
- Calling undefined method
Edit: I know how to handle errors well, this question is purely theoretical – I want to know how to call these errors in general.
There is no definitive list of PHP runtime errors. See this SO question. However, most PHP errors typically lend themselves to the following:
As drew said above, calling an unset variable won’t typically cause a fatal error. PHP will generally assume NULL for its use.