CloneSet1541


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2201.000for_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1285
libraries/phpxmlrpc/compat/var_export.php
2291
libraries/phpxmlrpc/compat/var_export.php
Clone Instance
1
Line Count
2
Source Line
85
Source File
libraries/phpxmlrpc/compat/var_export.php

                // Delimit value
                /*if (is_array($value)) {
                    // We have an array, so do some recursion
                    // Do some basic recursion while increasing the indent
                    $recur_array = explode($newline, var_export($value, true));
                    $temp_array = array();
                    foreach ($recur_array as $recur_line) {
                        $temp_array[] = $indent . $recur_line;
                    }
                    $recur_array = implode($newline, $temp_array);
                    $value = $newline . $recur_array;
                } elseif (is_null($value)) {
                    $value = 'NULL';
                } else {
                    $value = str_replace($find, $replace, $value);
                    $value = $stringdelim . $value . $stringdelim;
                }*/

                // Piece together the line
                for ($i=  0; $i<  $lvl; $i ++)
                    $out.=  $indent;


Clone Instance
2
Line Count
2
Source Line
91
Source File
libraries/phpxmlrpc/compat/var_export.php

            // End our string
            for ($i=  0; $i<  $lvl; $i ++)
                $out.=  $indent;


Clone AbstractionParameter Count: 0Parameter Bindings

// End our string
// Delimit value
/*if (is_array($value)) {
                    // We have an array, so do some recursion
                    // Do some basic recursion while increasing the indent
                    $recur_array = explode($newline, var_export($value, true));
                    $temp_array = array();
                    foreach ($recur_array as $recur_line) {
                        $temp_array[] = $indent . $recur_line;
                    }
                    $recur_array = implode($newline, $temp_array);
                    $value = $newline . $recur_array;
                } elseif (is_null($value)) {
                    $value = 'NULL';
                } else {
                    $value = str_replace($find, $replace, $value);
                    $value = $stringdelim . $value . $stringdelim;
                }*/
// Piece together the line
for ($i=0; $i<$lvl; $i ++)
  $out.=$indent;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None