use PHP_VERSION and version_compare() where appropriate

We don't need to store `$_php_version` because there is already `PHP_VERSION`. `version_compare()` is the correct way to compare or test version numbers. 

Also, I didn't remove it here, but `$_timestamp` seems to be unused. Do we actually need this value for any reason?