We are working on a PHP application developed for 5.2, but we recently migrated to PHP 5.3. We haven't had the time to go through and fix all the issues with the migrating to PHP 5.3. Specifically, we have a lot of messages:
Declaration of Object::Function should be compatible with that of Parent::function
We can fix these over time, but it will take several weeks. In the meantime we can set:
error_reporting = E_ALL & ~E_STRICT
But this is set globally for the entire script. We want to continue to get the E_STRICT messages for new code we write. Is it possible to just to indicate the functions on which the E_STRICT messages should be ignored? I'm thinking of something similar to Java's @SuppressWarnings annotation.