Code Duplication    Length = 5-5 lines in 2 locations

src/wp-includes/class-snoopy.php 2 locations

@@ 632-636 (lines=5) @@
629
630
		// catenate the non-empty matches from the conditional subpattern
631
632
		while(list($key,$val) = each($links[2]))
633
		{
634
			if(!empty($val))
635
				$match[] = $val;
636
		}
637
638
		while(list($key,$val) = each($links[3]))
639
		{
@@ 638-642 (lines=5) @@
635
				$match[] = $val;
636
		}
637
638
		while(list($key,$val) = each($links[3]))
639
		{
640
			if(!empty($val))
641
				$match[] = $val;
642
		}
643
644
		// return the links
645
		return $match;