Category Archives: Error Checking

Super-quick tip to save time debugging

We all know that debugging PHP can be (ahem) a challenge… You can make your life a little easier by putting a couple of lines at the top of your script:

<?php
error_reporting(E_ALL);
ini_set(“display_errors”, 1);

Wow, that was easy!

Get lots more easy PHP tips and tricks directly to your inbox by signing up to my newsletter: