variant_cmp
variant_cmp
Compares two variants
int **variant_cmp** mixed $left mixed $right int $locale_id int $flags
Compares with .
left``right
This function will only compare scalar values, not arrays or variant records.
leftThe left operand.
rightThe right operand.
locale_idA valid Locale Identifier to use when comparing strings (this affects
string collation).
flags
can be one or more of the following values
OR'd together, and affects string comparisons:
`flags`
Returns one of the following: