change PHP Version Check to PHP_VERSION_ID