correction of error_reporting for PHP >= 5.4
set error_reporting with version_compare()
Merge pull request #43 from nao-pon/php_5.4

correction of error_reporting for PHP >= 5.4