Home
last modified time | relevance | path

Searched refs:mysqli (Results 1 – 25 of 479) sorted by relevance

12345678910>>...20

/PHP-8.2/ext/mysqli/tests/
H A Dmysqli_class_mysqli_properties_no_conn.phpt2 Interface of the class mysqli
4 mysqli
49 … printf("mysqli->client_info = '%s'/%s\n", $mysqli->client_info, gettype($mysqli->client_info));
51 …printf("mysqli->client_version = '%s'/%s\n", $mysqli->client_version, gettype($mysqli->client_vers…
60 $mysqli->errno;
72 $mysqli->error;
199 printf("mysqli->unknown = '%s'\n", @$mysqli->unknown);
211 @$mysqli->connect_error, gettype(@$mysqli->connect_error),
216 @$mysqli->connect_errno, gettype(@$mysqli->connect_errno),
293 mysqli->unknown = ''
[all …]
H A Dmysqli_connect_oo_defaults.phpt2 new mysqli()
4 mysqli
35 printf("[001] [%d] %s\n", $mysqli->errno, $mysqli->error);
57 if (!$res = $mysqli->query("SELECT 'mysqli.default_port' AS testing"))
58 printf("[003] [%d] %s\n", $mysqli->errno, $mysqli->error);
75 if (!$res = $mysqli->query("SELECT 'mysqli.default_pw' AS testing"))
76 printf("[005] [%d] %s\n", $mysqli->errno, $mysqli->error);
93 if (!$res = $mysqli->query("SELECT 'mysqli.default_user' AS testing"))
94 printf("[007] [%d] %s\n", $mysqli->errno, $mysqli->error);
112 printf("[009] [%d] %s\n", $mysqli->errno, $mysqli->error);
[all …]
H A Dmysqli_connect_oo.phpt2 new mysqli()
4 mysqli
27 $mysqli = new mysqli($host, $user, $passwd, $db, $port);
35 $mysqli = new mysqli($host, $user, $passwd, $db);
43 $mysqli = new mysqli($host, $user);
51 $mysqli = new mysqli($host);
59 $mysqli = new mysqli();
75 $mysqli = new mysqli();
110 $mysqli = new mysqli($host, $user, $passwd, $db);
119 $mysqli = new mysqli($host, $user);
[all …]
H A Dmysqli_autocommit_oo.phpt2 mysqli->autocommit()
4 mysqli
29 printf("[003] [%d] %s\n", $mysqli->errno, $mysqli->error);
32 printf("[004] [%d] %s\n", $mysqli->errno, $mysqli->error);
43 printf("[007] [%d] %s\n", $mysqli->errno, $mysqli->error);
50 printf("[009] [%d] %s\n", $mysqli->errno, $mysqli->error);
57 printf("[011] [%d] %s\n", $mysqli->errno, $mysqli->error);
60 printf("[012] [%d] %s\n", $mysqli->errno, $mysqli->error);
63 printf("[013] [%d] %s\n", $mysqli->errno, $mysqli->error);
67 $tmp['num'], $mysqli->errno, $mysqli->error);
[all …]
H A Dmysqli_class_mysqli_interface.phpt4 mysqli
13 $mysqli = new mysqli($host, $user, $passwd, $db, $port, $socket);
164 $mysqli->client_info, gettype($mysqli->client_info),
174 $mysqli->errno, gettype($mysqli->errno),
179 $mysqli->error, gettype($mysqli->error),
192 $mysqli->insert_id, gettype($mysqli->insert_id),
197 $mysqli->sqlstate, gettype($mysqli->sqlstate),
202 $mysqli->host_info, gettype($mysqli->host_info),
208 $mysqli->info, gettype($mysqli->info),
214 $mysqli->thread_id, gettype($mysqli->thread_id),
[all …]
H A Dmysqli_fetch_array_oo.phpt2 mysqli->fetch_array()
4 mysqli
22 printf("[004] [%d] %s\n", $mysqli->errno, $mysqli->error);
43 printf("[010] Cannot run query, [%d] %s\n", $mysqli->errno, $$mysqli->error);
51 $mysqli->errno, $$mysqli->error);
76 printf("[%04d] [%d] %s\n", $offset, $mysqli->errno, $mysqli->error);
87 printf("[%04d] [%d] %s\n", $offset + 1, $mysqli->errno, $mysqli->error);
98 printf("[%04di] [%d] %s\n", $offset + 1, $mysqli->errno, $mysqli->error);
105 printf("[%04d] [%d] %s\n", $offset + 2, $mysqli->errno, $mysqli->error);
110 printf("[%04d] [%d] %s\n", $offset + 3, $mysqli->errno, $mysqli->error);
[all …]
H A Dmysqli_affected_rows_oo.phpt2 mysqli->affected_rows
4 mysqli
13 $mysqli = new mysqli();
29 printf("[003] [%d] %s\n", $mysqli->errno, $mysqli->error);
32 printf("[004] [%d] %s\n", $mysqli->errno, $mysqli->error);
35 printf("[005] [%d] %s\n", $mysqli->errno, $mysqli->error);
46 printf("[008] [%d] %s\n", $mysqli->errno, $mysqli->error);
52 printf("[010] [%d] %s\n", $mysqli->errno, $mysqli->error);
58 printf("[012] [%d] %s\n", $mysqli->errno, $mysqli->error);
65 printf("[014] [%d] %s\n", $mysqli->errno, $mysqli->error);
[all …]
H A Dmysqli_commit_oo.phpt4 mysqli
21 $mysqli = new mysqli();
23 $mysqli->commit();
42 printf("[004] [%d] %s\n", $mysqli->errno, $mysqli->error);
50 printf("[006] [%d] %s\n", $mysqli->errno, $mysqli->error);
59 printf("[008] [%d] %s\n", $mysqli->errno, $mysqli->error);
62 printf("[009] [%d] %s\n", $mysqli->errno, $mysqli->error);
72 printf("[011] [%d] %s\n", $mysqli->errno, $mysqli->error);
76 printf("[012] [%d] %s\n", $mysqli->errno, $mysqli->error);
86 printf("[016] [%d] %s\n", $mysqli->errno, $mysqli->error);
[all …]
H A Dmysqli_phpinfo.phpt2 phpinfo() mysqli section
4 mysqli
20 if (!stristr($phpinfo, "mysqli support"))
26 if (!stristr($phpinfo, "mysqli.default_host"))
29 if (!stristr($phpinfo, "mysqli.default_port"))
32 if (!stristr($phpinfo, "mysqli.default_pw"))
35 if (!stristr($phpinfo, "mysqli.default_socket"))
38 if (!stristr($phpinfo, "mysqli.default_user"))
41 if (!stristr($phpinfo, "mysqli.max_links"))
46 'mysqli.allow_local_infile', 'mysqli.local_infile_directory',
[all …]
H A Dmysqli_error_oo.phpt2 $mysqli->error
4 mysqli
16 $mysqli = new mysqli();
17 if ('' !== ($tmp = @$mysqli->error))
20 if (!$mysqli = new mysqli($host, $user, $passwd, $db, $port, $socket))
24 $tmp = $mysqli->error;
29 printf("[004] Failed to drop old test table: [%d] %s\n", $mysqli->errno, $mysqli->error);
33 $tmp = $mysqli->error;
37 $mysqli->close();
40 $mysqli->error;
[all …]
H A Dmysqli_errno_oo.phpt2 $mysqli->errno
4 mysqli
16 $mysqli = new mysqli();
20 if (!$mysqli = new mysqli($host, $user, $passwd, $db, $port, $socket))
24 var_dump($mysqli->errno);
27 printf("[003] Failed to drop old test table: [%d] %s\n", $mysqli->errno, $mysqli->error);
31 var_dump($mysqli->errno);
33 @$mysqli->query('No SQL');
37 $mysqli->close();
40 $mysqli->errno;
[all …]
H A Dbug79375.phpt4 mysqli
23 function testStmtStoreResult(mysqli $mysqli, string $name) {
37 function testStmtGetResult(mysqli $mysqli, string $name) {
51 function testNormalQuery(mysqli $mysqli, string $name) {
63 function testStmtUseResult(mysqli $mysqli, string $name) {
78 function testResultFetchRow(mysqli $mysqli, string $name) {
96 $mysqli->close();
107 $mysqli->close();
118 $mysqli->close();
129 $mysqli->close();
[all …]
H A Dbug42548.phpt4 mysqli
19 $mysqli = mysqli_init();
26 $mysqli->query("DROP PROCEDURE IF EXISTS p1") or die($mysqli->error);
27 $mysqli->query("CREATE PROCEDURE p1() BEGIN SELECT 23; SELECT 42; END") or die($mysqli->error);
29 if ($mysqli->multi_query("CALL p1();"))
33 if ($objResult = $mysqli->store_result()) {
38 if ($mysqli->more_results()) {
44 } while ($mysqli->more_results() && $mysqli->next_result());
46 print $mysqli->error;
49 $mysqli->query("DROP PROCEDURE p1") or die($mysqli->error);
[all …]
H A Dmysqli_real_connect_compression_error.phpt4 mysqli
26 $mysqli = mysqli_init();
28 $mysqli->query("DROP TABLE IF EXISTS test");
29 $mysqli->query("CREATE TABLE test (`blob` LONGBLOB NOT NULL) ENGINE=MyISAM");
32 $mysqli->query("INSERT INTO $db.test(`blob`) VALUE ('$data')");
34 var_dump(mysqli_error_list($mysqli));
35 $mysqli->close();
39 $mysqli = mysqli_init();
43 $mysqli->query("INSERT INTO $db.test(`blob`) VALUE ('$data')");
45 var_dump(mysqli_error_list($mysqli));
[all …]
H A Dmysqli_change_user_oo.phpt2 mysqli->change_user()
4 mysqli
21 if (!$mysqli = new my_mysqli($host, $user, $passwd, $db, $port, $socket))
39 if (!$mysqli->query('SET @mysqli_change_user_test_var=1'))
40 printf("[009] Failed to set test variable: [%d] %s\n", $mysqli->errno, $mysqli->error);
43 printf("[010] [%d] %s\n", $mysqli->errno, $mysqli->error);
49 if (true !== ($tmp = $mysqli->change_user($user, $passwd, $db)))
53 printf("[013] [%d] %s\n", $mysqli->errno, $mysqli->error);
63 printf("[016] [%d] %s\n", $mysqli->errno, $mysqli->error);
69 $mysqli->close();
[all …]
H A Dgh8267.phpt4 mysqli
13 $mysqli = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
14 $mysqli->query("DROP TABLE IF EXISTS foo");
15 $mysqli->query("CREATE TABLE foo (id BIGINT UNSIGNED AUTO_INCREMENT, PRIMARY KEY (id))");
16 $mysqli->query("INSERT INTO foo VALUES (9223372036854775807)");
17 var_dump($mysqli->insert_id);
18 $mysqli->query("INSERT INTO foo VALUES (0)");
19 var_dump($mysqli->insert_id);
H A Dmysqli_incomplete_initialization.phpt4 mysqli
9 $mysqli = new mysqli();
10 @$mysqli->__construct('doesnotexist');
11 $mysqli->close();
15 Fatal error: Uncaught Error: mysqli object is not fully initialized in %s:%d
17 #0 %s(%d): mysqli->close()
H A Dbug46109.phpt4 mysqli
13 $mysqli = new mysqli();
14 $mysqli->init();
15 $mysqli->init();
19 Deprecated: Method mysqli::init() is deprecated in %s on line %d
21 Deprecated: Method mysqli::init() is deprecated in %s on line %d
H A Dmysqli_next_result_error.phpt4 mysqli
16 $mysqli = new mysqli($host, $user, $passwd, $db, $port, $socket);
18 $mysqli->multi_query("SELECT 1; SELECT 2; Syntax Error");
22 if ($res = $mysqli->store_result()) {
26 } while ($mysqli->more_results() && $mysqli->next_result());
31 $mysqli->query("DROP PROCEDURE IF EXISTS p");
32 $mysqli->query('CREATE PROCEDURE p() READS SQL DATA BEGIN SELECT 1; SELECT foobar FROM table_that_d…
34 $stmt = $mysqli->prepare("CALL p()");
48 $mysqli->query("DROP PROCEDURE IF EXISTS p");
H A Dmysqli_dump_debug_info_oo.phpt4 mysqli
16 if (!$mysqli = new mysqli($host, $user, $passwd, $db, $port, $socket))
19 if (!is_bool($tmp = $mysqli->dump_debug_info()))
22 $mysqli->errno, $mysqli->error);
24 $mysqli->close();
27 $mysqli->dump_debug_info();
35 mysqli object is already closed
H A Dmysqli_reap_async_query.phpt4 mysqli
31 foreach ($links as $mysqli) {
33 $res = $mysqli->reap_async_query();
35 $res = mysqli_reap_async_query($mysqli);
39 } else if (mysqli_errno($mysqli) > 0) {
41 $offset, mysqli_errno($mysqli), mysqli_error($mysqli));
47 foreach ($errors as $mysqli)
49 $offset, mysqli_thread_id($mysqli), mysqli_errno($mysqli), mysqli_error($mysqli));
51 foreach ($reject as $mysqli)
53 $offset, mysqli_thread_id($mysqli), mysqli_errno($mysqli), mysqli_error($mysqli));
H A Dgh9841.phpt4 mysqli
18 $mysqli->query("SELECT (
24 $mysqli->query("SELECT (
29 $mysqli->reap_async_query();
31 $mysqli->real_query("SELECT (
36 $result = new mysqli_result($mysqli);
42 $mysqli->query("SELECT (
51 $mysqli->query("SELECT (
57 $mysqli->reap_async_query();
62 $mysqli->real_query("SELECT (
[all …]
H A Dbug36949.phpt2 Bug #36949 (invalid internal mysqli objects dtor)
4 mysqli
14 private $mysqli;
18 $this->mysqli = new mysqli($host, $user, $passwd, $db, $port, $socket);
19 $result = $this->mysqli->query("SELECT NOW() AS my_time FROM DUAL");
26 $this->mysqli->close();
32 private $mysqli;
36 $this->mysqli = new mysqli($host, $user, $passwd, $db, $port, $socket);
37 $result = $this->mysqli->query("SELECT NOW() AS my_time FROM DUAL");
44 $this->mysqli->close();
H A Dbug75018.phpt4 mysqli
13 $mysqli = new mysqli("$host:$port", $user, $passwd, $db);
17 $mysqli->query($sql);
20 $mysqli->query($sql);
23 $mysqli->query($sql);
25 $mysqli->query($sql);
28 $result = $mysqli->query($sql);
/PHP-8.2/ext/mysqli/
H A Dmysqli.stub.php633 class mysqli class
1380 ): mysqli|false {}
1393 function mysqli_errno(mysqli $mysql): int {}
1396 function mysqli_error(mysqli $mysql): string {}
1458 function mysqli_field_count(mysqli $mysql): int {}
1506 function mysqli_init(): mysqli|false {}
1509 function mysqli_info(mysqli $mysql): ?string {}
1536 function mysqli_ping(mysqli $mysql): bool {}
1549 mysqli $mysql,
1652 mysqli $mysql,
[all …]

Completed in 28 milliseconds

12345678910>>...20