Home
last modified time | relevance | path

Searched refs:fields (Results 1 – 25 of 138) sorted by relevance

123456

/PHP-8.0/ext/mbstring/ucgendat/
H A Ductest.php36 yield $fields;
74 assert(count($fields) == 15);
76 $code = intval($fields[0], 16);
99 assert(count($fields) == 4);
101 $code = intval($fields[0], 16);
102 $status = $fields[1];
115 assert(count($fields) >= 5);
117 $code = intval($fields[0], 16);
118 $lower = parseCodes($fields[1]);
119 $title = parseCodes($fields[2]);
[all …]
H A Ducgendat.php212 yield $fields;
218 foreach ($lines as $fields) {
219 if (count($fields) != 15) {
225 $name = $fields[1];
247 $bidiClass = $fields[4];
275 if (count($fields) != 4) {
280 $status = $fields[1];
330 if (count($fields) != 5 && count($fields) != 6) {
339 $cond = $fields[4];
355 if (count($fields) != 2) {
[all …]
/PHP-8.0/ext/mysqli/tests/
H A Dmysqli_stmt_get_result_metadata.phpt77 $fields = array();
79 $fields['res'][] = $info;
82 $fields['meta'][] = $info;
87 if (count($fields['res']) != count($fields['meta'])) {
88 … printf("[014] stmt_get_result indicates %d fields, stmt_result_metadata indicates %d fields\n",
89 count($fields['res']),
90 count($fields['meta']));
113 … $k, gettype($info->def), $info->def, gettype($fields['meta'][$k]->def), $fields['meta'][$k]->def);
141 $fields['all_res'][$k]->max_length = $fields['all_meta'][$k]->max_length;
143 if ($fields['all_res'][$k] != $fields['all_meta'][$k]) {
[all …]
H A Dmysqli_explain_metadata.phpt43 $fields = mysqli_fetch_fields($res);
44 if (($tmp = count($fields)) !== $num_fields) {
49 foreach ($fields as $k => $field) {
95 if ($fields_res_meta != $fields) {
98 var_dump($fields);
130 reset($fields);
132 $fields_val = current($fields);
133 next($fields);
143 if ($fields_stmt != $fields) {
146 var_dump($fields);
/PHP-8.0/sapi/fpm/tests/
H A Dstatus.inc43 * @param array $fields
66 * @param array $fields
77 array $fields,
88 $fields['start time'] = '\d+';
120 * @param array $fields
131 * @param array $fields
144 $fields,
155 * @param array $fields
161 $fields,
178 * @param array $fields
[all …]
/PHP-8.0/ext/oci8/tests/
H A Dimp_res_field.phpt129 num fields : 0
138 num fields : 0
143 num fields : 0
148 num fields : 0
153 num fields : 0
156 num fields : 2
159 num fields : 1
161 num fields : 1
166 num fields : 2
176 num fields : 1
[all …]
/PHP-8.0/ext/mysqlnd/
H A Dmysqlnd_result_meta.c59 meta->fields[i].root = NULL; in MYSQLND_METHOD()
82 meta->fields[i].num_key = idx; in MYSQLND_METHOD()
97 MYSQLND_FIELD *fields; in MYSQLND_METHOD() local
100 if ((fields = meta->fields)) { in MYSQLND_METHOD()
106 meta->fields = NULL; in MYSQLND_METHOD()
196 new_meta->fields = new_fields; in MYSQLND_METHOD()
219 meta->fields[meta->current_field].name? meta->fields[meta->current_field].name:"", in MYSQLND_METHOD()
233 meta->fields[meta->current_field].name? meta->fields[meta->current_field].name:"", in MYSQLND_METHOD()
235 DBG_RETURN(&meta->fields[fieldnr]); in MYSQLND_METHOD()
245 DBG_RETURN(meta->fields); in MYSQLND_METHOD()
[all …]
/PHP-8.0/ext/standard/tests/file/
H A Dfgetcsv_variation20.phpt47 // call fgetcsv() to parse csv fields
70 string(39) "This is line of text without csv fields"
78 string(39) "This is line of text without csv fields"
86 string(39) "This is line of text without csv fields"
94 string(39) "This is line of text without csv fields"
102 string(39) "This is line of text without csv fields"
110 string(39) "This is line of text without csv fields"
118 string(39) "This is line of text without csv fields"
126 string(39) "This is line of text without csv fields"
134 string(39) "This is line of text without csv fields"
[all …]
H A Dfgetcsv_variation13.phpt2 Test fgetcsv() : usage variations - with line without any csv fields
67 string(39) "This is line of text without csv fields"
75 string(39) "This is line of text without csv fields"
83 string(39) "This is line of text without csv fields"
91 string(39) "This is line of text without csv fields"
99 string(39) "This is line of text without csv fields"
107 string(39) "This is line of text without csv fields"
115 string(39) "This is line of text without csv fields"
123 string(39) "This is line of text without csv fields"
131 string(39) "This is line of text without csv fields"
[all …]
H A Dfgetcsv_variation6.phpt601 string(6) "fields"
631 string(6) "fields"
661 string(6) "fields"
691 string(6) "fields"
721 string(6) "fields"
751 string(6) "fields"
781 string(6) "fields"
811 string(6) "fields"
841 string(6) "fields"
871 string(6) "fields"
[all …]
H A Dfgetcsv_variation17.phpt596 string(6) "fields"
626 string(6) "fields"
656 string(6) "fields"
686 string(6) "fields"
716 string(6) "fields"
746 string(6) "fields"
776 string(6) "fields"
806 string(6) "fields"
836 string(6) "fields"
866 string(6) "fields"
[all …]
H A Dbug72330.phpt2 Bug #72330 (CSV fields incorrectly split if escape char followed by UTF chars)
17 $fields = str_getcsv($string, ';', '"', "#");
18 var_dump($fields);
H A Dfgetcsv_error_conditions.csv2 This is line of text without csv fields
/PHP-8.0/ext/pdo_pgsql/
H A Dpgsql_driver.stub.php8 …leName, array $rows, string $separator = "\t", string $nullAs = "\\\\N", ?string $fields = null) {} argument
11 …e, string $filename, string $separator = "\t", string $nullAs = "\\\\N", ?string $fields = null) {} argument
14 …y(string $tableName, string $separator = "\t", string $nullAs = "\\\\N", ?string $fields = null) {} argument
17 …e, string $filename, string $separator = "\t", string $nullAs = "\\\\N", ?string $fields = null) {} argument
H A Dpgsql_driver_arginfo.h9 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, fields, IS_STRING, 1, "null")
17 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, fields, IS_STRING, 1, "null")
24 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, fields, IS_STRING, 1, "null")
/PHP-8.0/ext/pgsql/tests/
H A D14pg_update.phpt15 $fields = array('num'=>'1234', 'str'=>'ABC', 'bin'=>'XYZ');
18 pg_update($db, $table_name, $fields, $ids) or print "Error in test 1\n";
19 echo pg_update($db, $table_name, $fields, $ids, PGSQL_DML_STRING)."\n";
20 echo pg_update($db, $table_name, $fields, $ids, PGSQL_DML_STRING|PGSQL_DML_ESCAPE)."\n";
H A D14pg_update_9.phpt17 $fields = array('num'=>'1234', 'str'=>'ABC', 'bin'=>'XYZ');
20 pg_update($db, $table_name, $fields, $ids) or print "Error in test 1\n";
21 echo pg_update($db, $table_name, $fields, $ids, PGSQL_DML_STRING)."\n";
22 echo pg_update($db, $table_name, $fields, $ids, PGSQL_DML_STRING|PGSQL_DML_ESCAPE)."\n";
H A D12pg_insert.phpt15 $fields = array('num'=>'1234', 'str'=>'AAA', 'bin'=>'BBB');
17 pg_insert($db, $table_name, $fields) or print "Error in test 1\n";
18 echo pg_insert($db, $table_name, $fields, PGSQL_DML_STRING)."\n";
H A D10pg_convert_json_array.phpt16 $fields = array(
20 $converted = pg_convert($db, $table_name_92, $fields);
23 if (!pg_insert($db, $table_name_92, $fields)) {
H A D12pg_insert_9.phpt17 $fields = array('num'=>'1234', 'str'=>'AAA', 'bin'=>'BBB');
19 pg_insert($db, $table_name, $fields) or print "Error in test 1\n";
20 echo pg_insert($db, $table_name, $fields, PGSQL_DML_STRING)."\n";
21 echo pg_insert($db, $table_name, $fields, PGSQL_DML_STRING|PGSQL_DML_ESCAPE)."\n";
22 var_dump( pg_insert($db, $table_name, $fields, PGSQL_DML_EXEC) ); // Return resource
H A D10pg_convert.phpt16 $fields = array('num'=>'1234', 'str'=>'AAA', 'bin'=>'BBB');
17 $converted = pg_convert($db, $table_name, $fields);
H A Dbug64609.phpt19 $fields = array('a' => 'ok');
20 $converted = pg_convert($db, 'test_enum', $fields);
/PHP-8.0/ext/pdo_mysql/
H A Dmysql_statement.c151 S->fields = mysql_fetch_fields(S->result); in pdo_mysql_fill_stmt_from_result()
174 S->fields = mysql_fetch_fields(S->result); in pdo_mysql_stmt_after_execute_prepared()
188 S->fields = mysql_fetch_fields(S->result); in pdo_mysql_stmt_after_execute_prepared()
202 switch (S->fields[i].type) { in pdo_mysql_stmt_after_execute_prepared()
220 S->fields[i].max_length? S->fields[i].max_length: in pdo_mysql_stmt_after_execute_prepared()
221 S->fields[i].length; in pdo_mysql_stmt_after_execute_prepared()
634 cols[i].name = strpprintf(0, "%s.%s", S->fields[i].table, S->fields[i].name); in pdo_mysql_stmt_describe()
639 cols[i].name = zend_string_init(S->fields[i].name, S->fields[i].name_length, 0); in pdo_mysql_stmt_describe()
643 cols[i].precision = S->fields[i].decimals; in pdo_mysql_stmt_describe()
644 cols[i].maxlen = S->fields[i].length; in pdo_mysql_stmt_describe()
[all …]
/PHP-8.0/ext/imap/tests/
H A Dimap_rfc822_parse_headers_basic.phpt17 $fields = array ('toaddress','to','fromaddress','from',
24 echo "Check general fields\n";
25 foreach ($fields as $key) {
94 Check general fields
H A Dimap_headerinfo_basic.phpt17 $fields = array ('toaddress','to','fromaddress','from',
24 echo "Check general fields\n";
25 foreach ($fields as $key) {
94 Check general fields

Completed in 41 milliseconds

123456