Posts tagged “bestpractices”

PHP Best Practices #2: Strictures

Make sure PHP is reporting all errors and warnings. Warnings and notices are PHP’s way of letting you know that you are utilising features in a non-standard way. If your code is omitting errors, then it should be fixed as soon as possible. Strict warnings are a class of errors that are turned off by [...]