Error Reporting

For those you striving to become great PHP developers, make sure you code with error reporting set to report on “strict” mode. This particular error reporting type gives suggestions on your code for commonly made mistakes due to sloppiness. The ideal configuration setting for error reporting is:

E_STRICT | E_ALL

Or in PHP, you would start the page with:

error_reporting(E_STRICT | E_ALL);