How to Display PHP Errors and Enable Error Reporting

I still vividly remember the first time I learned about PHP error handling. It was in my fourth year of programming, my second with PHP, and I’d applied for a developer position at a local agency. The application required me to send in a code sample (GitHub as we know