Code Duplication    Length = 5-5 lines in 2 locations

thumbs/phpthumb.class.php 2 locations

@@ 4740-4744 (lines=5) @@
4737
        }
4738
        $DebugOutput[] = '';
4739
4740
        if (isset($_GET) && is_array($_GET)) {
4741
            foreach ($_GET as $key => $value) {
4742
                $DebugOutput[] = '$_GET[' . $key . ']' . str_repeat(' ', 30 - strlen($key)) . '= ' . $this->phpThumbDebugVarDump($value);
4743
            }
4744
        }
4745
        if (isset($_POST) && is_array($_POST)) {
4746
            foreach ($_POST as $key => $value) {
4747
                $DebugOutput[] = '$_POST[' . $key . ']' . str_repeat(' ', 29 - strlen($key)) . '= ' . $this->phpThumbDebugVarDump($value);
@@ 4745-4749 (lines=5) @@
4742
                $DebugOutput[] = '$_GET[' . $key . ']' . str_repeat(' ', 30 - strlen($key)) . '= ' . $this->phpThumbDebugVarDump($value);
4743
            }
4744
        }
4745
        if (isset($_POST) && is_array($_POST)) {
4746
            foreach ($_POST as $key => $value) {
4747
                $DebugOutput[] = '$_POST[' . $key . ']' . str_repeat(' ', 29 - strlen($key)) . '= ' . $this->phpThumbDebugVarDump($value);
4748
            }
4749
        }
4750
        $DebugOutput[] = '';
4751
4752
        $DebugOutput[] = '$this->debugmessages:';