unified version_compare() in init.php