Home
last modified time | relevance | path

Searched refs:statement (Results 1 – 25 of 198) sorted by relevance

12345678

/php-src/ext/odbc/
H A Dodbc.stub.php334 function odbc_binmode(Odbc\Result $statement, int $mode): true {} argument
336 function odbc_longreadlen(Odbc\Result $statement, int $length): true {} argument
342 function odbc_cursor(Odbc\Result $statement): string|false {} argument
354 /** @param resource $statement */
357 /** @param resource $statement */
358 function odbc_fetch_array($statement, ?int $row = null): array|false {} argument
362 * @param resource $statement
374 function odbc_free_result(Odbc\Result $statement): true {} argument
382 function odbc_num_rows(Odbc\Result $statement): int {}
385 function odbc_next_result(Odbc\Result $statement): bool {}
[all …]
H A Dodbc_arginfo.h8 ZEND_ARG_OBJ_INFO(0, statement, Odbc\\Result, 0)
13 ZEND_ARG_OBJ_INFO(0, statement, Odbc\\Result, 0)
23 ZEND_ARG_OBJ_INFO(0, statement, Odbc\\Result, 0)
28 ZEND_ARG_OBJ_INFO(0, statement, Odbc\\Result, 0)
44 ZEND_ARG_INFO(0, statement)
49 ZEND_ARG_INFO(0, statement)
55 ZEND_ARG_INFO(0, statement)
61 ZEND_ARG_OBJ_INFO(0, statement, Odbc\\Result, 0)
66 ZEND_ARG_OBJ_INFO(0, statement, Odbc\\Result, 0)
71 ZEND_ARG_OBJ_INFO(0, statement, Odbc\\Result, 0)
[all …]
/php-src/ext/mysqli/tests/
H A Dbug80837.phpt20 $statement = $mysqli->prepare("SELECT b FROM test");
21 $statement->execute();
22 $statement->bind_result($name);
23 $statement->fetch();
25 $statement->store_result();
H A Dbug69899.phpt5 free_result is called on a prepared statement followed by closing that
6 statement. This is due to mysqlnd_stmt::free_result (mysqlnd_ps.c) which
7 unconditionally sets the connection of the statement to ready, despite the fact
/php-src/ext/sqlite3/tests/
H A Dsqlite3stmt_getsql_expanded.phpt24 echo "Getting expanded SQL statement\n";
27 echo "Execute statement\n";
40 echo "Getting expanded SQL statement\n";
49 Getting expanded SQL statement
51 Execute statement
64 Getting expanded SQL statement
H A Dbug77051.phpt19 echo "Execute statement\n";
28 echo "Execute statement\n";
39 echo "Execute statement\n";
47 Execute statement
60 Execute statement
73 Execute statement
H A Dsqlite3_35_stmt_readonly.phpt25 echo "Checking select statement\n";
29 echo "Checking update statement\n";
33 echo "Checking delete statement\n";
47 Checking select statement
49 Checking update statement
51 Checking delete statement
H A Dsqlite3stmt_getsql.phpt18 echo "Getting non-expanded SQL statement\n";
21 echo "Execute statement\n";
33 Getting non-expanded SQL statement
35 Execute statement
H A Dsqlite3_prepare_faultystmt.phpt2 SQLite3::prepare test, testing for faulty statement
19 Warning: SQLite3::prepare(): Unable to prepare statement: no such table: bar in %s on line %d
H A Dbug72668.phpt28 $statement = $db->prepare('SELECT my_udf_md5("test")');
30 $result = $statement->execute();
/php-src/ext/pdo_pgsql/tests/
H A Dresult_memory_size.phpt20 $statement = $db->query('select 1');
21 $result_1 = $statement->getAttribute(Pgsql::ATTR_RESULT_MEMORY_SIZE);
33 $statement = $db->prepare('select 1');
34 $result_3 = $statement->getAttribute(Pgsql::ATTR_RESULT_MEMORY_SIZE);
38 printf("%s: %d: %s\n", ...$statement->errorInfo());
45 and should emit Error: HY000: 0: statement '%s' has not been executed yet
H A Dbug71573.phpt17 $statement = $db->prepare('select ?');
18 $statement->execute([ 'test', 'test', 'test' ]);
H A Dbug72294.phpt121 $statement = $prepared_statement_cache->prepare( $pdo, <<<SQL
125 $statement->execute();
137 $statement = $this->cache->prepare( $pdo, 'SELECT * FROM test72294 WHERE test_column > 0' );
138 $statement->execute();
/php-src/ext/mysqli/
H A Dmysqli.stub.php1573 function mysqli_stmt_close(mysqli_stmt $statement): true {}
1577 function mysqli_stmt_errno(mysqli_stmt $statement): int {}
1580 function mysqli_stmt_error(mysqli_stmt $statement): string {}
1586 function mysqli_stmt_error_list(mysqli_stmt $statement): array {}
1588 function mysqli_stmt_fetch(mysqli_stmt $statement): ?bool {}
1590 function mysqli_stmt_field_count(mysqli_stmt $statement): int {}
1592 function mysqli_stmt_free_result(mysqli_stmt $statement): void {}
1608 function mysqli_stmt_next_result(mysqli_stmt $statement): bool {}
1613 function mysqli_stmt_param_count(mysqli_stmt $statement): int {}
1617 function mysqli_stmt_reset(mysqli_stmt $statement): bool {}
[all …]
/php-src/Zend/tests/namespaces/
H A Dns_033.phpt2 033: Import statement with non-compound name
9 Warning: The use statement with non-compound name 'A' has no effect in %sns_033.php on line 2
11 Warning: The use statement with non-compound name 'B' has no effect in %sns_033.php on line 3
H A Dns_068.phpt13 Fatal error: Namespace declaration statement has to be the very first statement or after any declar…
H A Dns_083.phpt14 Fatal error: Namespace declaration statement has to be the very first statement or after any declar…
H A Dnamespace_first_stmt_nop.phpt2 Nop statement before namespace
/php-src/ext/standard/tests/array/
H A Darray_filter_variation7.phpt14 echo "Anonymous callback function with regular parameter and statement\n";
21 // anonymous callback function with argument and null statement
22 echo "Anonymous callback function with regular argument and null statement\n";
29 Anonymous callback function with regular parameter and statement
59 Anonymous callback function with regular argument and null statement
/php-src/Zend/tests/
H A Ddeclare_005.phpt2 Testing declare statement with ticks
10 $statement;
H A Ddeclare_007.phpt2 Testing declare statement with ticks with callback arguments
12 $statement;
H A Dfunction_outside_namespace.phpt12 Fatal error: Namespace declaration statement has to be the very first statement or after any declar…
/php-src/ext/pdo_mysql/tests/
H A Dpdo_mysql_prepare_emulated_binary.phpt22 $statement = $db->prepare('SELECT HEX(?) as test');
23 $statement->bindValue(1, hex2bin($content), PDO::PARAM_LOB);
24 $statement->execute();
26 var_dump($statement->fetchAll(PDO::FETCH_ASSOC)[0]['test'] === $content);
/php-src/ext/pdo/tests/
H A Dbug_69356.phpt22 …Dumps the information contained by a prepared statement directly on the output. It will provide th…
26 … only dumps the parameters in the statement at the moment of the dump. Extra parameters are not st…
42 …Dumps the information contained by a prepared statement directly on the output. It will provide th…
46 … only dumps the parameters in the statement at the moment of the dump. Extra parameters are not st…
H A Dbug_60665.phpt22 $statement = $db->prepare("SELECT NULL AS null_value, 0 AS zero, 1 AS one $from");
23 $statement->execute();
24 $row = $statement->fetch(PDO::FETCH_LAZY);

Completed in 20 milliseconds

12345678