Lines Matching refs:link
13 $stmt = mysqli_stmt_init($link);
18 $stmt = mysqli_stmt_init($link);
58 …function func_mysqli_stmt_bind_result($link, $engine, $bind_type, $sql_type, $bind_value, $offset,…
60 if (!mysqli_query($link, "DROP TABLE IF EXISTS test")) {
61 printf("[%04d] [%d] %s\n", $offset, mysqli_errno($link), mysqli_error($link));
65 …if (!mysqli_query($link, sprintf("CREATE TABLE test(id INT, label %s, PRIMARY KEY(id)) ENGINE = %s…
70 if (!$stmt = mysqli_stmt_init($link)) {
71 printf("[%04d] [%d] %s\n", $offset + 1, mysqli_errno($link), mysqli_error($link));
94 $stmt = mysqli_stmt_init($link);
143 func_mysqli_stmt_bind_result($link, $engine, "i", "TINYINT", -11, 20);
144 func_mysqli_stmt_bind_result($link, $engine, "i", "TINYINT", NULL, 40);
145 func_mysqli_stmt_bind_result($link, $engine, "i", "TINYINT UNSIGNED", 1, 60);
146 func_mysqli_stmt_bind_result($link, $engine, "i", "TINYINT UNSIGNED", NULL, 80);
148 func_mysqli_stmt_bind_result($link, $engine, "i", "BOOL", 1, 100);
149 func_mysqli_stmt_bind_result($link, $engine, "i", "BOOL", NULL, 120);
150 func_mysqli_stmt_bind_result($link, $engine, "i", "BOOLEAN", 0, 140);
151 func_mysqli_stmt_bind_result($link, $engine, "i", "BOOLEAN", NULL, 160);
153 func_mysqli_stmt_bind_result($link, $engine, "i", "SMALLINT", -32768, 180);
154 func_mysqli_stmt_bind_result($link, $engine, "i", "SMALLINT", 32767, 200);
155 func_mysqli_stmt_bind_result($link, $engine, "i", "SMALLINT", NULL, 220);
156 func_mysqli_stmt_bind_result($link, $engine, "i", "SMALLINT UNSIGNED", 65535, 240);
157 func_mysqli_stmt_bind_result($link, $engine, "i", "SMALLINT UNSIGNED", NULL, 260);
159 func_mysqli_stmt_bind_result($link, $engine, "d", "MEDIUMINT", -8388608, 280, "integer");
160 func_mysqli_stmt_bind_result($link, $engine, "d", "MEDIUMINT", 8388607, 300, "integer");
161 func_mysqli_stmt_bind_result($link, $engine, "d", "MEDIUMINT", NULL, 320);
162 … func_mysqli_stmt_bind_result($link, $engine, "d", "MEDIUMINT UNSIGNED", 16777215, 340, "integer");
163 func_mysqli_stmt_bind_result($link, $engine, "d", "MEDIUMINT UNSIGNED", NULL, 360);
165 …func_mysqli_stmt_bind_result($link, $engine, "i", "INTEGER", (defined("PHP_INT_MAX")) ? max(-1 * P…
166 func_mysqli_stmt_bind_result($link, $engine, "i", "INTEGER", -2147483647, 400, "integer");
167 …func_mysqli_stmt_bind_result($link, $engine, "i", "INTEGER", (defined("PHP_INT_MAX")) ? min(214748…
168 func_mysqli_stmt_bind_result($link, $engine, "i", "INTEGER", NULL, 440);
169 …func_mysqli_stmt_bind_result($link, $engine, "i", "INTEGER UNSIGNED", (defined("PHP_INT_MAX")) ? m…
170 …func_mysqli_stmt_bind_result($link, $engine, "i", "INTEGER UNSIGNED", 4294967295, 480, (defined("P…
171 func_mysqli_stmt_bind_result($link, $engine, "i", "INTEGER UNSIGNED", NULL, 500);
174 func_mysqli_stmt_bind_result($link, $engine, "i", "BIGINT", -9223372036854775808, 520);
175 func_mysqli_stmt_bind_result($link, $engine, "i", "BIGINT UNSIGNED", 18446744073709551615, 560);
177 func_mysqli_stmt_bind_result($link, $engine, "i", "BIGINT", NULL, 540);
178 func_mysqli_stmt_bind_result($link, $engine, "i", "BIGINT UNSIGNED", NULL, 580);
179 func_mysqli_stmt_bind_result($link, $engine, "i", "BIGINT", -1, 1780);
180 func_mysqli_stmt_bind_result($link, $engine, "i", "BIGINT UNSIGNED", 1, 1800);
181 func_mysqli_stmt_bind_result($link, $engine, "i", "BIGINT", -1 * PHP_INT_MAX + 1, 1820);
182 func_mysqli_stmt_bind_result($link, $engine, "i", "BIGINT UNSIGNED", PHP_INT_MAX, 1840);
184 func_mysqli_stmt_bind_result($link, $engine, "d", "FLOAT", -9237.21, 600);
185 func_mysqli_stmt_bind_result($link, $engine, "d", "FLOAT", NULL, 620);
186 func_mysqli_stmt_bind_result($link, $engine, "d", "FLOAT UNSIGNED", 18467.5, 640);
187 func_mysqli_stmt_bind_result($link, $engine, "d", "FLOAT UNSIGNED ", NULL, 660);
190 … func_mysqli_stmt_bind_result($link, $engine, "d", "DOUBLE(10,2)", '-99999999.99', 680, "double");
191 func_mysqli_stmt_bind_result($link, $engine, "d", "DOUBLE(10,2)", NULL, 700);
192 …func_mysqli_stmt_bind_result($link, $engine, "d", "DOUBLE(10,2) UNSIGNED", '99999999.99' , 720, "d…
193 func_mysqli_stmt_bind_result($link, $engine, "d", "DOUBLE(10,2) UNSIGNED", NULL, 740);
194 … func_mysqli_stmt_bind_result($link, $engine, "d", "DECIMAL(10,2)", '-99999999.99', 760, "string");
195 func_mysqli_stmt_bind_result($link, $engine, "d", "DECIMAL(10,2)", NULL, 780);
196 … func_mysqli_stmt_bind_result($link, $engine, "d", "DECIMAL(10,2)", '99999999.99', 800, "string");
197 func_mysqli_stmt_bind_result($link, $engine, "d", "DECIMAL(10,2)", NULL, 820);
200 func_mysqli_stmt_bind_result($link, $engine, "s", "DATE", @date('Y-m-d'), 840);
201 func_mysqli_stmt_bind_result($link, $engine, "s", "DATE NOT NULL", @date('Y-m-d'), 860);
202 func_mysqli_stmt_bind_result($link, $engine, "s", "DATE", NULL, 880);
204 func_mysqli_stmt_bind_result($link, $engine, "s", "DATETIME", @date('Y-m-d H:i:s'), 900);
205 … func_mysqli_stmt_bind_result($link, $engine, "s", "DATETIME NOT NULL", @date('Y-m-d H:i:s'), 920);
206 func_mysqli_stmt_bind_result($link, $engine, "s", "DATETIME", NULL, 940);
208 func_mysqli_stmt_bind_result($link, $engine, "s", "TIMESTAMP", @date('Y-m-d H:i:s'), 960);
210 func_mysqli_stmt_bind_result($link, $engine, "s", "TIME", @date('H:i:s'), 980);
211 func_mysqli_stmt_bind_result($link, $engine, "s", "TIME NOT NULL", @date('H:i:s'), 1000);
212 func_mysqli_stmt_bind_result($link, $engine, "s", "TIME", NULL, 1020);
215 …func_mysqli_stmt_bind_result($link, $engine, "s", "YEAR", $tmp, 1040, "string"); // YEAR is a stri…
216 func_mysqli_stmt_bind_result($link, $engine, "s", "YEAR NOT NULL", $tmp, 1060, "string");
217 func_mysqli_stmt_bind_result($link, $engine, "s", "YEAR", NULL, 1080);
220 func_mysqli_stmt_bind_result($link, $engine, "s", "CHAR(1)", "a", 1110, 'string');
221 func_mysqli_stmt_bind_result($link, $engine, "s", "CHAR(255)", $string255, 1120, 'string');
222 func_mysqli_stmt_bind_result($link, $engine, "s", "CHAR(1) NOT NULL", "a", 1140, 'string');
223 func_mysqli_stmt_bind_result($link, $engine, "s", "CHAR(1)", NULL, 1160);
226 func_mysqli_stmt_bind_result($link, $engine, "s", "VARCHAR(1)", "a", 1180, 'string');
227 func_mysqli_stmt_bind_result($link, $engine, "s", "VARCHAR(255)", $string255, 1200, 'string');
228 func_mysqli_stmt_bind_result($link, $engine, "s", "VARCHAR(65635)", $string65k, 1220, 'string');
229 func_mysqli_stmt_bind_result($link, $engine, "s", "VARCHAR(1) NOT NULL", "a", 1240, 'string');
230 func_mysqli_stmt_bind_result($link, $engine, "s", "VARCHAR(1)", NULL, 1260);
232 func_mysqli_stmt_bind_result($link, $engine, "s", "BINARY(1)", "a", 1280);
233 func_mysqli_stmt_bind_result($link, $engine, "s", "BINARY(1)", chr(0), 1300);
234 func_mysqli_stmt_bind_result($link, $engine, "s", "BINARY(1) NOT NULL", "b", 1320);
235 func_mysqli_stmt_bind_result($link, $engine, "s", "BINARY(1)", NULL, 1340);
237 func_mysqli_stmt_bind_result($link, $engine, "s", "VARBINARY(1)", "a", 1360);
238 func_mysqli_stmt_bind_result($link, $engine, "s", "VARBINARY(1)", chr(0), 1380);
239 func_mysqli_stmt_bind_result($link, $engine, "s", "VARBINARY(1) NOT NULL", "b", 1400);
240 func_mysqli_stmt_bind_result($link, $engine, "s", "VARBINARY(1)", NULL, 1420);
242 func_mysqli_stmt_bind_result($link, $engine, "s", "TINYBLOB", "a", 1440);
243 func_mysqli_stmt_bind_result($link, $engine, "s", "TINYBLOB", chr(0), 1460);
244 func_mysqli_stmt_bind_result($link, $engine, "s", "TINYBLOB NOT NULL", "b", 1480);
245 func_mysqli_stmt_bind_result($link, $engine, "s", "TINYBLOB", NULL, 1500);
247 func_mysqli_stmt_bind_result($link, $engine, "s", "TINYTEXT", "a", 1520, 'string');
248 func_mysqli_stmt_bind_result($link, $engine, "s", "TINYTEXT NOT NULL", "a", 1540, 'string');
249 func_mysqli_stmt_bind_result($link, $engine, "s", "TINYTEXT", NULL, 1560, 'string');
253 func_mysqli_stmt_bind_result($link, $engine, "b", "BLOB", "", 1580);
254 func_mysqli_stmt_bind_result($link, $engine, "b", "TEXT", "", 1600, 'string');
255 func_mysqli_stmt_bind_result($link, $engine, "b", "MEDIUMBLOB", "", 1620);
256 func_mysqli_stmt_bind_result($link, $engine, "b", "MEDIUMTEXT", "", 1640, 'string');
259 func_mysqli_stmt_bind_result($link, $engine, "b", "LONGBLOB", "", 1660);
260 func_mysqli_stmt_bind_result($link, $engine, "b", "LONGTEXT", "", 1680, 'string');
262 func_mysqli_stmt_bind_result($link, $engine, "s", "ENUM('a', 'b')", "a", 1700, 'string');
263 func_mysqli_stmt_bind_result($link, $engine, "s", "ENUM('a', 'b')", NULL, 1720, 'string');
264 func_mysqli_stmt_bind_result($link, $engine, "s", "SET('a', 'b')", "a", 1740, 'string');
265 func_mysqli_stmt_bind_result($link, $engine, "s", "SET('a', 'b')", NULL, 1760, 'string');
267 if (mysqli_get_server_version($link) >= 50600)
268 func_mysqli_stmt_bind_result($link, $engine, "s", "TIME(6)", "13:31:34.123456", 1770);
270 $stmt = mysqli_stmt_init($link);
283 mysqli_close($link);