You should use version_compare()