Does WordPress have a built in reference to the PHP version its running under? [closed]

function is_php4(){
  return version_compare(phpversion(),'5','<');
}