Code Duplication    Length = 5-5 lines in 3 locations

app/fpdm/fpdm.php 3 locations

@@ 1756-1760 (lines=5) @@
1753
									Producer<FEFF004F00700065006E004F00660066006900630065002E006F0072006700200033002E0032>
1754
									/CreationDate (D:20101225151810+01'00')>>
1755
									*/
1756
									if(($creator=='')&&preg_match("/\/Creator\<([^\>]+)\>/",$CurLine,$values)) {
1757
										$creator=$this->decodeValue("hex",$values[1]);
1758
										if($verbose_parsing) echo("Creator read ($creator)");
1759
										$this->info["Creator"]=$creator;
1760
									}
1761
								
1762
									if(($producer=='')&&preg_match("/\/Producer\<([^\>]+)\>/",$CurLine,$values)) {
1763
										$producer=$this->decodeValue("hex",$values[1]);
@@ 1762-1766 (lines=5) @@
1759
										$this->info["Creator"]=$creator;
1760
									}
1761
								
1762
									if(($producer=='')&&preg_match("/\/Producer\<([^\>]+)\>/",$CurLine,$values)) {
1763
										$producer=$this->decodeValue("hex",$values[1]);
1764
										if($verbose_parsing) echo("Producer read ($producer)");
1765
										$this->info["Producer"]=$producer;
1766
									}
1767
									
1768
									if(($creationDate=='')&&preg_match("/\/CreationDate\(([^\)]+)\)/",$CurLine,$values)) {
1769
										$creationDate=$values[1];
@@ 1768-1772 (lines=5) @@
1765
										$this->info["Producer"]=$producer;
1766
									}
1767
									
1768
									if(($creationDate=='')&&preg_match("/\/CreationDate\(([^\)]+)\)/",$CurLine,$values)) {
1769
										$creationDate=$values[1];
1770
										if($verbose_parsing) echo("Creation date read ($creationDate)");
1771
										$this->info["CreationDate"]=$creationDate;
1772
									}
1773
								
1774
									//=== DEFINITION ====
1775
									//preg_match("/^\/Type\s+\/(\w+)$/",$CurLine,$match)