function version compare WB5O3OZBRYHGJZFVHGPJLQKCNQUBQNYBMBU23EI


version_comparePodręcznik PHPPoprzedniNastępnyversion_compare (PHP 4 CVS only)version_compare -- Compares two "PHP-standardized" version number stringsDescriptionint version_compare (string version1, string version2, string [operator]) version_compare() compares two "PHP-standardized" version number strings. This is useful if you would like to write programs working only on some versions of PHP. version_compare() returns -1 if the first version is lower than the second, 0 if they are equal, and +1 if the second is lower. If you specify the third optional operator argument, you can test for a particular relationship. The possible operators are: <, lt, <=, le, >, gt, >=, ge, ==, =, eq, !=, <>, ne respectively. Using this argument, the function will return 1 if the realtionship is the one specified by the operator, 0 otherwise. Przykład 1. version_compare() example// 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"); PoprzedniSpis treściNastępnyset_time_limitPoczątek rozdziałuzend_logo_guid

Wyszukiwarka

Podobne podstrony:
function version compare
function dbx compare
function dbx compare
function ldap compare
function zend version
function fdf set version
function fdf get version
function mcal date compare
function mcal date compare
function zend version
function notes version
function mcal date compare

więcej podobnych podstron