Lines Matching refs:lhs
30 private $lhs;
36 * @param lhs Left Hand Side Iterator
40 function __construct(Iterator $lhs, Iterator $rhs,
43 $this->lhs = $lhs;
52 return $this->lhs;
80 $this->lhs->rewind();
88 return $this->lhs->valid() && $this->rhs->valid();
99 return array($this->lhs->current(), $this->rhs->current());
101 return $this->lhs->current();
117 return $this->lhs->key();
129 $this->lhs->next();
139 ? $this->lhs->current() === $this->rhs->current()
140 && $this->lhs->key() === $this->rhs->key()
141 : $this->lhs->valid() == $this->rhs->valid();
150 ? $this->lhs->current() == $this->rhs->current()
151 && $this->lhs->key() == $this->rhs->key()
152 : $this->lhs->valid() == $this->rhs->valid();
157 * @param lhs Left Hand Side Iterator
165 static function compareIterators(Iterator $lhs, Iterator $rhs,
168 if ($lhs instanceof RecursiveIterator)
172 $it = new RecursiveDualIterator($lhs, $rhs,
183 $it = new DualIterator($lhs, $rhs, self::CURRENT_0 | self::KEY_0);