/PHP-5.5/ext/mysqli/tests/ |
H A D | mysqli_fetch_assoc_oo.phpt | 17 $mysqli = new mysqli(); 18 $res = @new mysqli_result($mysqli); 23 if (!$mysqli = new my_mysqli($host, $user, $passwd, $db, $port, $socket)) 30 if (!$res = $mysqli->query("SELECT id, label FROM test ORDER BY id LIMIT 1")) { 31 printf("[004] [%d] %s\n", $mysqli->errno, $mysqli->error); 42 if (!$res = $mysqli->query("SELECT 1 AS a, 2 AS a, 3 AS c, 4 AS C, NULL AS d, true AS e")) { 43 printf("[007] Cannot run query, [%d] %s\n", $mysqli->errno, $mysqli->error);
|
H A D | mysqli_class_mysqli_warning.phpt | 21 $mysqli = new mysqli(); 22 $warning = new mysqli_warning($mysqli); 24 $mysqli = new my_mysqli($host, $user, $passwd, $db, $port, $socket); 25 $stmt = new mysqli_stmt($mysqli); 28 $stmt = $mysqli->stmt_init(); 35 $mysqli = new my_mysqli($host, $user, $passwd, $db, $port, $socket); 36 $res = $mysqli->query('INSERT INTO test(id, label) VALUES (1, "zz")'); 37 $warning = mysqli_get_warnings($mysqli); 66 $variables = get_class_vars(get_class($mysqli)); 72 $variables = get_object_vars($mysqli); [all …]
|
H A D | mysqli_real_connect_pconn.phpt | 13 mysqli.allow_persistent=1 14 mysqli.max_persistent=10 35 ini_set('mysqli.default_socket', $socket); 37 printf("[006] Usage of mysqli.default_socket failed\n"); 44 ini_set('mysqli.default_port', $port); 46 printf("[008] Usage of mysqli.default_port failed\n"); 53 ini_set('mysqli.default_pw', $passwd); 55 printf("[010] Usage of mysqli.default_pw failed\n") ; 62 ini_set('mysqli.default_user', $user); 71 ini_set('mysqli.default_host', $host); [all …]
|
H A D | mysqli_poll.phpt | 11 die("skip mysqlnd only feature, compile PHP using --with-mysqli=mysqlnd"); 62 foreach ($links as $mysqli) { 64 $res = $mysqli->reap_async_query(); 66 $res = mysqli_reap_async_query($mysqli); 70 } else if (mysqli_errno($mysqli) > 0) { 72 $offset, mysqli_errno($mysqli), mysqli_error($mysqli)); 78 foreach ($errors as $mysqli) 80 $offset, mysqli_thread_id($mysqli), mysqli_errno($mysqli), mysqli_error($mysqli)); 82 foreach ($reject as $mysqli) 84 $offset, mysqli_thread_id($mysqli), mysqli_errno($mysqli), mysqli_error($mysqli));
|
H A D | mysqli_fetch_field_oo.phpt | 17 $mysqli = new mysqli(); 18 $res = @new mysqli_result($mysqli); 23 if (!$mysqli = new mysqli($host, $user, $passwd, $db, $port, $socket)) 32 if (!$mysqli->set_charset('utf8')) 33 printf("[%d] %s\n", $mysqli->errno, $mysqli->errno); 35 $charsetInfo = $mysqli->get_charset(); 37 if (!$res = $mysqli->query("SELECT id AS ID, label FROM test AS TEST ORDER BY id LIMIT 1")) { 38 printf("[004] [%d] %s\n", $mysqli->errno, $mysqli->error); 65 $mysqli->close();
|
H A D | mysqli_fetch_lengths_oo.phpt | 13 if (!$mysqli = new my_mysqli($host, $user, $passwd, $db, $port, $socket)) 17 if (!$res = $mysqli->query("SELECT id, label FROM test ORDER BY id LIMIT 1")) { 18 printf("[002] [%d] %s\n", $mysqli->errno, $mysqli->error); 28 $mysqli->close();
|
H A D | bug54221.phpt | 2 Bug #54221 mysqli::get_warnings segfault when used in multi queries 9 mysqli.max_links = 1 10 mysqli.allow_persistent = Off 11 mysqli.max_persistent = 0 12 mysqli.reconnect = Off
|
H A D | mysqli_prepare_no_object.phpt | 23 if (!$mysqli = new my_mysqli($host, $user, $passwd, $db, $port, $socket)) 27 if (false !== ($tmp = $mysqli->prepare(false))) 29 printf("c) [%d] %s\n", $mysqli->errno, $mysqli->error); 31 if (false !== ($tmp = $mysqli->prepare(''))) 33 printf("c) [%d] %s\n", $mysqli->errno, $mysqli->error);
|
H A D | bug54674.phpt | 9 mysqli.max_links = 1 10 mysqli.allow_persistent = Off 11 mysqli.max_persistent = 0 12 mysqli.reconnect = Off
|
H A D | mysqli_close_oo.phpt | 16 if (!$mysqli = new my_mysqli($host, $user, $passwd, $db, $port, $socket)) 20 if (!is_null($tmp = @$mysqli->close($link))) 23 $tmp = $mysqli->close(); 27 if (!is_null($tmp = @$mysqli->close())) 30 if (!is_null($tmp = @$mysqli->query("SELECT 1")))
|
H A D | mysqli_poll_kill.phpt | 75 foreach ($reject as $mysqli) 100 foreach ($errors as $mysqli) { 102 mysqli_thread_id($mysqli), 103 mysqli_errno($mysqli), 104 mysqli_error($mysqli)); 110 foreach ($reject as $mysqli) { 112 mysqli_thread_id($mysqli), 113 mysqli_errno($mysqli), 114 mysqli_error($mysqli)); 119 foreach ($links as $mysqli) { [all …]
|
H A D | mysqli_real_connect.phpt | 56 ini_set('mysqli.default_socket', $socket); 65 ini_set('mysqli.default_port', $port); 67 printf("[008] Usage of mysqli.default_port failed\n"); 74 ini_set('mysqli.default_pw', $passwd); 76 printf("[010] Usage of mysqli.default_pw failed\n") ; 83 ini_set('mysqli.default_user', $user); 85 printf("[012] Usage of mysqli.default_user failed\n") ; 92 ini_set('mysqli.default_host', $host); 142 ini_set('mysqli.default_host', 'p:' . $host); 159 ini_set('mysqli.default_host', 'p:'); [all …]
|
H A D | bug63398.phpt | 27 Warning: mysqli_poll(): [1] Couldn't fetch mysqli in %sbug63398.php on line %d 29 Warning: mysqli_poll(): [1] Couldn't fetch mysqli in %sbug63398.php on line %d 33 Warning: mysqli_poll(): [1] Couldn't fetch mysqli in %sbug63398.php on line %d 35 Warning: mysqli_poll(): [1] Couldn't fetch mysqli in %sbug63398.php on line %d
|
H A D | bug51605.phpt | 9 mysqli.max_links = 1 10 mysqli.allow_persistent = Off 11 mysqli.max_persistent = 0 12 mysqli.reconnect = Off
|
H A D | mysqli_fetch_all_oo.phpt | 2 $mysqli->fetch_all() (introduced with mysqlnd) 19 $mysqli = new mysqli(); 26 if (!$res = $mysqli->query("SELECT * FROM test ORDER BY id LIMIT 2")) { 27 printf("[004] [%d] %s\n", $mysqli->errno, $mysqli->error); 35 printf("[006] [%d] %s\n", $mysqli->errno, $mysqli->error); 43 printf("[008] [%d] %s\n", $mysqli->errno, $mysqli->error); 51 printf("[009] [%d] %s\n", $mysqli->errno, $mysqli->error); 62 printf("[012] [%d] %s\n", $mysqli->errno, $mysqli->error); 72 printf("[010] Cannot run query, [%d] %s\n", $mysqli->errno, $$mysqli->error); 80 $mysqli->errno, $$mysqli->error); [all …]
|
H A D | mysqli_get_warnings.phpt | 87 if (!$mysqli = new my_mysqli($host, $user, $passwd, $db, $port, $socket)) 90 if (!$mysqli->query("DROP TABLE IF EXISTS t1")) 93 if (!$mysqli->query("CREATE TABLE t1 (a smallint)")) 96 if (!is_object($warning = new mysqli_warning($mysqli))) 102 if (!$mysqli->query("DROP TABLE t1")) 106 if (!$mysqli = new my_mysqli($host, $user, $passwd, $db, $port, $socket)) 109 $warning = new mysqli_warning($mysqli); 116 if (!$mysqli = new my_mysqli($host, $user, $passwd, $db, $port, $socket)) 119 if (!$mysqli->query("DROP TABLE IF EXISTS t1")) 122 if (!$mysqli->query("CREATE TABLE t1 (a smallint)")) [all …]
|
H A D | bug29311.phpt | 2 Bug #29311 (Cannot override mysqli constructor) 13 class mysql1 extends mysqli { 21 class mysql2 extends mysqli { 30 class mysql3 extends mysqli {
|
H A D | skipif.inc | 2 if (!extension_loaded('mysqli')){ 3 die('skip mysqli extension not available');
|
H A D | bug36420.phpt | 12 $mysqli = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket); 14 $result = $mysqli->query('select 1'); 19 $mysqli->close();
|
H A D | bug50772.phpt | 2 Bug #50772 (mysqli constructor without parameters does not return a working mysqli object) 11 $db1 = new mysqli();
|
H A D | bug33491.phpt | 2 Bug #33491 (extended mysqli class crashes when result is not object) 13 class DB extends mysqli 23 // Segfault when using the DB class which extends mysqli
|
H A D | mysqli_fetch_field_direct_oo.phpt | 16 $mysqli = new mysqli(); 17 $res = @new mysqli_result($mysqli); 23 if (!$mysqli = new my_mysqli($host, $user, $passwd, $db, $port, $socket)) 27 if (!$res = $mysqli->query("SELECT id AS ID, label FROM test AS TEST ORDER BY id LIMIT 1")) { 49 $mysqli->close();
|
/PHP-5.5/ext/mysqli/ |
H A D | config.m4 | 3 dnl config.m4 for extension mysqli 5 PHP_ARG_WITH(mysqli, for MySQLi support, 6 [ --with-mysqli[=FILE] Include MySQLi support. FILE is the path 11 [ --enable-embedded-mysqli 75 mysqli_sources="mysqli.c mysqli_api.c mysqli_prop.c mysqli_nonapi.c \ 78 PHP_NEW_EXTENSION(mysqli, $mysqli_sources, $ext_shared) 80 PHP_INSTALL_HEADERS([ext/mysqli/php_mysqli_structs.h]) 83 PHP_ADD_EXTENSION_DEP(mysqli, mysqlnd) 85 PHP_INSTALL_HEADERS([ext/mysqli/mysqli_mysqlnd.h]) 87 PHP_INSTALL_HEADERS([ext/mysqli/mysqli_libmysql.h])
|
H A D | mysqli.dsp | 1 # Microsoft Developer Studio Project File - Name="mysqli" - Package Owner=<4> 7 CFG=mysqli - Win32 Debug_TS 11 !MESSAGE NMAKE /f "mysqli.mak". 16 !MESSAGE NMAKE /f "mysqli.mak" CFG="mysqli - Win32 Debug_TS" 20 !MESSAGE "mysqli - Win32 Release_TS" (based on "Win32 (x86) Dynamic-Link Library") 21 !MESSAGE "mysqli - Win32 Debug_TS" (based on "Win32 (x86) Dynamic-Link Library") 32 !IF "$(CFG)" == "mysqli - Win32 Release_TS" 59 !ELSEIF "$(CFG)" == "mysqli - Win32 Debug_TS" 89 # Name "mysqli - Win32 Release_TS" 90 # Name "mysqli - Win32 Debug_TS" [all …]
|
/PHP-5.5/ext/mysql/tests/ |
H A D | mysql_connect.phpt | 107 …The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in … 109 …The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in … 111 …The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in … 115 …The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in … 117 …The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in … 119 …The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in … 121 …The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in … 123 …The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in … 125 …The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in … 127 …The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in …
|