set error_reporting with version_compare()