Home
last modified time | relevance | path

Searched refs:MYSQLI_STORE_RESULT (Results 1 – 20 of 20) sorted by relevance

/PHP-8.1/ext/mysqli/tests/
H A Dmysqli_result_invalid_mode.phpt14 $valid = array(MYSQLI_STORE_RESULT, MYSQLI_USE_RESULT);
29 mysqli_result::__construct(): Argument #2 ($result_mode) must be either MYSQLI_STORE_RESULT or MYSQ…
30 mysqli_result::__construct(): Argument #2 ($result_mode) must be either MYSQLI_STORE_RESULT or MYSQ…
H A Dmysqli_class_mysqli_result_interface.phpt105 assert(in_array($mysqli_result->type, array(MYSQLI_STORE_RESULT, MYSQLI_USE_RESULT)));
107 ((MYSQLI_STORE_RESULT == $mysqli_result->type) ? 'store' : 'use'),
129 if (!is_object($res = new mysqli_result($link, MYSQLI_STORE_RESULT)))
135 $valid = array(MYSQLI_STORE_RESULT, MYSQLI_USE_RESULT);
H A Dbug34785.phpt41 $result = new my_result($link, MYSQLI_STORE_RESULT);
H A Dmysqli_stmt_get_result2.phpt125 if (!in_array($res->type, array(MYSQLI_STORE_RESULT, MYSQLI_USE_RESULT))) {
128 if ($res->type !== MYSQLI_STORE_RESULT)
129 … printf("[025] Expecting int/%d got %s/%s", MYSQLI_STORE_RESULT, gettype($res->type), $res->type);
H A Dmysqli_set_charset.phpt35 if ((($res = mysqli_query($link, 'SHOW CHARACTER SET LIKE "latin1"', MYSQLI_STORE_RESULT)) &&
37 (($res = mysqli_query($link, 'SHOW CHARACTER SET LIKE "latin2"', MYSQLI_STORE_RESULT)) &&
61 … = mysqli_query($link, sprintf('SHOW CHARACTER SET LIKE "%s"', $new_charset), MYSQLI_STORE_RESULT))
H A Dmysqli_get_client_stats_skipped.phpt20 if (!$res = mysqli_query($link, 'SELECT id FROM test', MYSQLI_STORE_RESULT))
H A Dmysqli_query.phpt84 …if (!is_object($res = mysqli_query($link, "SELECT id FROM test ORDER BY id", MYSQLI_STORE_RESULT)))
129 mysqli_query(): Argument #3 ($result_mode) must be either MYSQLI_USE_RESULT or MYSQLI_STORE_RESULT%S
H A Dmysqli_data_seek.phpt14 if (!$res = mysqli_query($link, 'SELECT * FROM test ORDER BY id LIMIT 4', MYSQLI_STORE_RESULT))
H A Dmysqli_num_rows.phpt17 if (!$res = mysqli_query($link, $query, MYSQLI_STORE_RESULT)) {
H A Dmysqli_reap_async_query.phpt63 $link->query("SELECT 1 AS _one", MYSQLI_ASYNC | MYSQLI_STORE_RESULT);
H A Dmysqli_data_seek_oo.phpt26 if (!$res = $mysqli->query('SELECT * FROM test ORDER BY id LIMIT 4', MYSQLI_STORE_RESULT))
H A Dmysqli_query_iterators.phpt54 …if (!is_object($res = mysqli_query($link, "SELECT id FROM test ORDER BY id", MYSQLI_STORE_RESULT)))
H A Dmysqli_constants.phpt27 "MYSQLI_STORE_RESULT" => true,
H A Dmysqli_field_seek.phpt104 if (!$res = mysqli_query($link, "SELECT NULL as _null", MYSQLI_STORE_RESULT)) {
H A Dmysqli_get_client_stats.phpt149 if (!$res = mysqli_query($link, 'SELECT COUNT(*) AS _num FROM test', MYSQLI_STORE_RESULT))
199 if (!$res = mysqli_query($link, 'SELECT id, label FROM test', MYSQLI_STORE_RESULT))
/PHP-8.1/ext/mysqli/
H A Dmysqli_priv.h92 #define MYSQLI_STORE_RESULT 0 macro
H A Dmysqli.stub.php292 …public function query(string $query, int $result_mode = MYSQLI_STORE_RESULT): mysqli_result|bool {}
456 public function __construct(mysqli $mysql, int $result_mode = MYSQLI_STORE_RESULT) {}
941 function mysqli_query(mysqli $mysql, string $query, int $result_mode = MYSQLI_STORE_RESULT): mysqli…
H A Dmysqli_nonapi.c684 zend_long resultmode = MYSQLI_STORE_RESULT;
695 MYSQLI_STORE_RESULT != (resultmode & ~(MYSQLI_ASYNC | MYSQLI_STORE_RESULT_COPY_DATA))
739 case MYSQLI_STORE_RESULT:
972 case MYSQLI_STORE_RESULT:
H A Dmysqli.c638 REGISTER_LONG_CONSTANT("MYSQLI_STORE_RESULT", MYSQLI_STORE_RESULT, CONST_CS | CONST_PERSISTENT); in PHP_MINIT_FUNCTION()
982 zend_long resmode = MYSQLI_STORE_RESULT; in PHP_METHOD()
991 case MYSQLI_STORE_RESULT: in PHP_METHOD()
H A Dmysqli_prop.c266 ZVAL_LONG(retval, mysqli_result_is_unbuffered(p) ? MYSQLI_USE_RESULT:MYSQLI_STORE_RESULT); in MYSQLI_MAP_PROPERTY_FUNC_LONG()

Completed in 37 milliseconds