CloneSet1004


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4320.975if_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1438
libraries/phpxmlrpc/compat/version_compare.php
2444
libraries/phpxmlrpc/compat/version_compare.php
3450
libraries/phpxmlrpc/compat/version_compare.php
Clone Instance
1
Line Count
4
Source Line
38
Source File
libraries/phpxmlrpc/compat/version_compare.php

        // Check input
        if (!is_scalar($version1)) {
            user_error('version_compare() expects parameter 1 to be string, '
                       . gettype($version1)
                       .             ' given', E_USER_WARNING);
            return;
          }


Clone Instance
2
Line Count
4
Source Line
44
Source File
libraries/phpxmlrpc/compat/version_compare.php

        if (!is_scalar($version2)) {
            user_error('version_compare() expects parameter 2 to be string, '
                       . gettype($version2)
                       .             ' given', E_USER_WARNING);
            return;
          }


Clone Instance
3
Line Count
4
Source Line
50
Source File
libraries/phpxmlrpc/compat/version_compare.php

        if (!is_scalar($operator)) {
            user_error('version_compare() expects parameter 3 to be string, '
                       . gettype($operator)
                       .             ' given', E_USER_WARNING);
            return;
          }


Clone AbstractionParameter Count: 2Parameter Bindings

// Check input
if (!is_scalar( [[#variable24d5f360]])) {
  user_error( [[#variable24806420]]
             . gettype( [[#variable24d5f360]])
             . ' given',E_USER_WARNING);
  return;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#24d5f360]]
$version1 
12[[#24d5f360]]
$version2 
13[[#24d5f360]]
$operator 
21[[#24806420]]
'version_compare() expects parameter 1 to be string, ' 
22[[#24806420]]
'version_compare() expects parameter 2 to be string, ' 
23[[#24806420]]
'version_compare() expects parameter 3 to be string, '