Is it possible to change the error reporting level (turn off E_STRICT) for files that my PHP application includes with include
or require_once
?
I'd like to be able to see strict notices that occur in my code, but I'm using PEAR MDB2, and I get pages of warnings from that code when I turn on E_STRICT.
I know that it's possible to change error_reporting
on a per-directory basis with an .htaccess file but I don't think that works with included files. I tried putting it in the pear folder but it did nothing.