/ / prints -1 echo version_compare( "4.0.4", "4.0.6"); / / these all print 1 echo version_compare("4.0.4", "4.0.6", ""); echo version_compare("4.0.6", "4.0.6", "eq");
?php echo version_compare( "4.0.4", "4.0.6"); / / affiche -1 echo version_compare("4.0.4", "4.0.6", ""); echo version_compare("4.0.6", "4.0.6", "eq"); / / affichent tous 1?