Lines Matching refs:value1
18 /* Prototype : int cmp(mixed $value1, mixed $value2)
19 * Parameters : $value1 and $value2 - values to be compared
21 * 1 - if value1 is greater than value2
22 * -1 - if value1 is less than value3
23 * Description : compares value1 and value2
25 function simple_cmp($value1, $value2)
27 if($value1 == $value2) {
30 else if($value1 > $value2) {
38 function multiple_cmp($value1, $value2)
40 if($value1->getValue() == $value2->getValue())
42 else if($value1->getValue() > $value2->getValue())