Ejemplo n.º 1
0
 public function testClone()
 {
     $db = (require __DIR__ . "/config.php");
     $mysqltcs = new Mysqltcs($db['host'], $db['user'], $db['psw'], $db['db']);
     $connection = new MysqltcsOperations($mysqltcs);
     $connection2 = clone $connection;
     $connection->showDatabases();
     $connection2->showDatabases();
 }