You should use version_compare() instead.