Home
last modified time | relevance | path

Searched refs:num_fields (Results 1 – 10 of 10) sorted by relevance

/PHP-8.1/ext/mysqli/tests/
H A Dmysqli_explain_metadata.phpt21 $num_fields = 0;
28 $num_fields = count($row);
42 $num_fields, gettype($tmp), $tmp);
45 if (($tmp = count($fields)) !== $num_fields) {
47 $num_fields, gettype($tmp), $tmp);
81 $num_fields, gettype($tmp), $tmp);
85 $num_fields, gettype($tmp), $tmp);
89 $num_fields, gettype($tmp), $tmp);
94 $num_fields, gettype($tmp), $tmp);
118 $num_fields, gettype($tmp), $tmp);
[all …]
H A Dmysqli_stmt_result_metadata_sqltests.phpt53 'num_fields' => mysqli_num_fields($res),
122 'num_fields' => mysqli_num_fields($res),
209 'num_fields' => 1,
/PHP-8.1/ext/pdo_dblib/
H A Ddblib_stmt.c123 int num_fields; in pdo_dblib_stmt_next_rowset_no_cancel() local
127 num_fields = dbnumcols(H->link); in pdo_dblib_stmt_next_rowset_no_cancel()
128 } while (H->skip_empty_rowsets && num_fields <= 0 && ret == SUCCEED); in pdo_dblib_stmt_next_rowset_no_cancel()
140 if (H->skip_empty_rowsets && num_fields <= 0) { in pdo_dblib_stmt_next_rowset_no_cancel()
145 stmt->column_count = num_fields; in pdo_dblib_stmt_next_rowset_no_cancel()
/PHP-8.1/ext/mysqli/
H A Dmysqli_api.c1191 unsigned int i, num_fields; local
1200 num_fields = mysql_num_fields(result);
1202 for (i = 0; i < num_fields; i++) {
1251 unsigned int i, num_fields; local
1270 num_fields = mysql_num_fields(result);
1272 for (i = 0; i < num_fields; i++) {
H A Dmysqli.c1028 unsigned int i, num_fields; in php_mysqli_fetch_into_hash_aux() local
1042 num_fields = mysql_num_fields(result); in php_mysqli_fetch_into_hash_aux()
1044 for (i = 0; i < num_fields; i++) { in php_mysqli_fetch_into_hash_aux()
/PHP-8.1/ext/pgsql/
H A Dpgsql.c1856 int i, num_fields, pgsql_row; in php_pgsql_fetch_hash() local
1909 for (i = 0, num_fields = PQnfields(pgsql_result); i < num_fields; i++) { in php_pgsql_fetch_hash()
2055 size_t num_fields; in PHP_FUNCTION() local
2071 num_fields = PQnfields(pgsql_result); in PHP_FUNCTION()
2072 if (colno >= (zend_long)num_fields) { in PHP_FUNCTION()
5783 size_t num_fields; in php_pgsql_result2array() local
5792 for (i = 0, num_fields = PQnfields(pg_result); i < num_fields; i++) { in php_pgsql_result2array()
/PHP-8.1/ext/mysqlnd/
H A Dmysqlnd_result.c896 MYSQLND_METHOD(mysqlnd_res, num_fields)(const MYSQLND_RES * const result) in MYSQLND_METHOD() argument
1062 MYSQLND_METHOD(mysqlnd_res, num_fields),
H A Dmysqlnd.h145 #define mysqlnd_num_fields(result) (result)->m.num_fields((result))
H A Dmysqlnd_structs.h664 func_mysqlnd_res__num_fields num_fields; in MYSQLND_CLASS_METHODS_TYPE() local
/PHP-8.1/ext/ffi/
H A Dffi.c337 int num_fields = !(field_type->attr & ZEND_FFI_ATTR_UNION) ? in zend_ffi_face_struct_add_fields() local
340 if (num_fields > 1) { in zend_ffi_face_struct_add_fields()
341 size += sizeof(ffi_type*) * (num_fields - 1); in zend_ffi_face_struct_add_fields()
363 int num_fields = !(type->attr & ZEND_FFI_ATTR_UNION) ? in zend_ffi_make_fake_struct_type() local
365 size_t size = sizeof(ffi_type) + sizeof(ffi_type*) * (num_fields + 1); in zend_ffi_make_fake_struct_type()

Completed in 65 milliseconds