Lines Matching refs:a
50 * @param Multi $a The first value.
54 private function compare($a, $b) { argument
56 if (is_null($a)) return false;
60 if (is_bool($a)) $a = $a?1:0;
64 if (ctype_digit($a) && ctype_digit($b)) {
66 $a = $this->is_integer($a)?intval($a):floatval($a);
69 if ($a < $b)
71 else if ($a > $b)
76 return strcasecmp(strval($a), strval($b));
96 $a = array_pop($stack);
97 $r = ($a || $b);
106 $a = array_pop($stack);
107 $r = ($a && $b);
116 $a = array_pop($stack);
117 $r = ($this->compare($a, $b) > 0);
126 $a = array_pop($stack);
127 $r = ($this->compare($a, $b) < 0);
137 $a = array_pop($stack);
138 $r = ($this->compare($a, $b) == 0);