next(); } for ($i = 1; $i <= (int) $skip2; $i++) { $GLOBALS["j"]->next(); } $u = $GLOBALS["g"]->current(); $v = $GLOBALS["j"]->current(); $GLOBALS["g"]->next(); $w = hash($hr,$u) . hash($hr2,$v); $GLOBALS["j"]->next(); var_dump($w,$hr,$hr2,$skip1,$skip2);exit; return $w; } }