You should write `if (PHP_VERSION_ID < 50500) {` because using `version_compare()` is much slower and the constant `PHP_VERSION` can contain some special version suffixes the function could be incompatible with.