CloneSet866


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
19220.990class_member_list[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11989
libraries/joomla/database/database/mysql.php
219109
libraries/joomla/database/database/mysqli.php
Clone Instance
1
Line Count
19
Source Line
89
Source File
libraries/joomla/database/database/mysql.php

        /**
         * Database object destructor
         *
         * @return boolean
         * @since 1.5
         */
        public

               function __destruct() {

                $return=  FALSE;
                if (is_resource($this->_resource)) {
                        $return=  mysql_close($this->_resource);
                      }
                return $return;
              }
        /**
         * Test to see if the MySQL connector is available
         *
         * @static
         * @access public
         * @return boolean  True on success, false otherwise.
         */
        public static

                      function test() {

                return (function_exists('mysql_connect'));
              }


Clone Instance
2
Line Count
19
Source Line
109
Source File
libraries/joomla/database/database/mysqli.php

        /**
         * Database object destructor
         *
         * @return boolean
         * @since 1.5
         */
        public

               function __destruct() {

                $return=  FALSE;
                if (is_resource($this->_resource)) {
                        $return=  mysqli_close($this->_resource);
                      }
                return $return;
              }
        /**
         * Test to see if the MySQLi connector is available
         *
         * @static
         * @access public
         * @return boolean  True on success, false otherwise.
         */
        public static

                      function test() {

                return (function_exists('mysqli_connect'));
              }


Clone AbstractionParameter Count: 2Parameter Bindings

/**
         * Database object destructor
         *
         * @return boolean
         * @since 1.5
         */
public

      function __destruct() {
        $return=FALSE;
        if (is_resource($this->_resource)) {
          $return= [[#variable22683580]]($this->_resource);
        }
        return $return;
      }
/**
         * Test to see if the MySQL connector is available
         *
         * @static
         * @access public
         * @return boolean  True on success, false otherwise.
         */
/**
         * Test to see if the MySQLi connector is available
         *
         * @static
         * @access public
         * @return boolean  True on success, false otherwise.
         */
public static

             function test() {
               return (function_exists( [[#variable41676140]]));
             }
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#22683580]]
mysql_close 
12[[#22683580]]
mysqli_close 
21[[#41676140]]
'mysql_connect' 
22[[#41676140]]
'mysqli_connect'