Lines Matching refs:connections
21 $connections = array();
25 $connections[] = $link;
27 while (count($connections)) {
30 } while (!isset($connections[$index]));
31 mysqli_close($connections[$index]);
32 unset($connections[$index]);
36 $connections = array();
41 $connections[] = $link;
45 while (count($connections) && $left > 0) {
48 } while (!isset($connections[$index]) && $left > 0);
51 mysqli_close($connections[$index]);
52 unset($connections[$index]);
55 … if (!$connections[$index] = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
61 while (count($connections)) {
64 } while (!isset($connections[$index]));
65 mysqli_close($connections[$index]);
66 unset($connections[$index]);