In my php.ini file I have the following line set:
error_reporting = E_ALL
display_errors
is also turned on in the ini file.
However, this does not appear to be working correctly because I can only get PHP to display strict errors when I add the following to my PHP file:
ini_set('display_errors', 1);
error_reporting(-1);
I'm using Wampserver, why is this happening? I want PHP to display all errors no matter what the severity without having to include this code in every file.