Jonathon Posted February 27, 2013 Share Posted February 27, 2013 Hello, Just having a look through my php.ini records, my php.ini file has an error_reporting value of error_reporting = E_ALL | E_STRICT Which I always thought was the best setting to develop a site on. However when i run phpinfo() error_reporting has this value '32767' - which is All errors and warnings, as supported, except of level E_STRICT prior to PHP 5.4.0. http://php.net/manual/en/errorfunc.constants.php So my question is why does phpinfo() not seem to include the strict errors and what value would I need to change to make it also include the strict values? I know I could use <?php error_reporting(-1); ?> But i'd prefer to use php.ini if possible. Link to comment Share on other sites More sharing options...
Larry Posted March 2, 2013 Share Posted March 2, 2013 This is silly, but have you confirmed the version of PHP you're using lately? Link to comment Share on other sites More sharing options...
Jonathon Posted March 2, 2013 Author Share Posted March 2, 2013 5.3.5 Link to comment Share on other sites More sharing options...
Recommended Posts