/php-src/ext/mbstring/ucgendat/ |
H A D | uctest.php | 36 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 D | ucgendat.php | 227 yield $fields; 233 foreach ($lines as $fields) { 234 if (count($fields) != 15) { 240 $name = $fields[1]; 262 $bidiClass = $fields[4]; 290 if (count($fields) != 4) { 295 $status = $fields[1]; 345 if (count($fields) != 5 && count($fields) != 6) { 354 $cond = $fields[4]; 376 if (isset($fields[2]) && in_array($fields[2], $usedProperties, true)) { [all …]
|
/php-src/ext/mysqli/tests/ |
H A D | mysqli_stmt_get_result_metadata.phpt | 75 $fields = array(); 77 $fields['res'][] = $info; 80 $fields['meta'][] = $info; 85 if (count($fields['res']) != count($fields['meta'])) { 86 … printf("[014] stmt_get_result indicates %d fields, stmt_result_metadata indicates %d fields\n", 87 count($fields['res']), 88 count($fields['meta'])); 111 … $k, gettype($info->def), $info->def, gettype($fields['meta'][$k]->def), $fields['meta'][$k]->def); 139 $fields['all_res'][$k]->max_length = $fields['all_meta'][$k]->max_length; 141 if ($fields['all_res'][$k] != $fields['all_meta'][$k]) { [all …]
|
H A D | mysqli_explain_metadata.phpt | 40 $fields = mysqli_fetch_fields($res); 41 if (($tmp = count($fields)) !== $num_fields) { 46 foreach ($fields as $field) { 92 if ($fields_res_meta != $fields) { 95 var_dump($fields); 126 reset($fields); 128 $fields_val = current($fields); 129 next($fields); 139 if ($fields_stmt != $fields) { 142 var_dump($fields);
|
/php-src/sapi/fpm/tests/ |
H A D | status.inc | 73 * @param array $fields 96 * @param array $fields 107 array $fields, 146 * @param array $fields 157 * @param array $fields 170 $fields, 181 * @param array $fields 187 $fields, 204 * @param array $fields 210 $fields, [all …]
|
/php-src/ext/standard/tests/file/ |
H A D | fgetcsv_variation20.phpt | 47 // 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 D | fgetcsv_variation13.phpt | 2 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 D | fgetcsv_variation6.phpt | 601 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 D | fgetcsv_variation17.phpt | 596 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 D | bug72330.phpt | 2 Bug #72330 (CSV fields incorrectly split if escape char followed by UTF chars) 17 $fields = str_getcsv($string, ';', '"', "#"); 18 var_dump($fields);
|
H A D | fgetcsv_variation15.phpt | 62 // call fgetcsv() to parse csv fields 719 This is line of text without csv fields 734 This is line of text without csv fields 749 This is line of text without csv fields 764 This is line of text without csv fields 779 This is line of text without csv fields 794 This is line of text without csv fields 809 This is line of text without csv fields 824 This is line of text without csv fields 839 This is line of text without csv fields [all …]
|
/php-src/ext/mysqlnd/ |
H A D | mysqlnd_result_meta.c | 59 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() 232 meta->fields[meta->current_field].name? meta->fields[meta->current_field].name:""); in MYSQLND_METHOD() 233 DBG_RETURN(&meta->fields[fieldnr]); in MYSQLND_METHOD() 243 DBG_RETURN(meta->fields); in MYSQLND_METHOD() [all …]
|
/php-src/ext/pdo_pgsql/ |
H A D | pgsql_driver.stub.php | 11 …ersable $rows, string $separator = "\t", string $nullAs = "\\\\N", ?string $fields = null): bool {} argument 14 …ing $filename, string $separator = "\t", string $nullAs = "\\\\N", ?string $fields = null): bool {} argument 17 …$tableName, string $separator = "\t", string $nullAs = "\\\\N", ?string $fields = null): array|fal… argument 20 …ing $filename, string $separator = "\t", string $nullAs = "\\\\N", ?string $fields = null): bool {} argument
|
H A D | pdo_pgsql.stub.php | 38 …, array $rows, string $separator = "\t", string $nullAs = "\\\\N", ?string $fields = null): bool {} argument 40 …ing $filename, string $separator = "\t", string $nullAs = "\\\\N", ?string $fields = null): bool {} argument 42 …$tableName, string $separator = "\t", string $nullAs = "\\\\N", ?string $fields = null): array|fal… argument 44 …ing $filename, string $separator = "\t", string $nullAs = "\\\\N", ?string $fields = null): bool {} argument
|
H A D | pgsql_driver_arginfo.h | 9 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-src/ext/pgsql/tests/ |
H A D | 14pg_update.phpt | 17 $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 D | 12pg_insert.phpt | 17 $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";
|
H A D | 14pg_update_9.phpt | 24 $fields = array('num'=>'1234', 'str'=>'ABC', 'bin'=>'XYZ'); 27 pg_update($db, $table_name, $fields, $ids) or print "Error in test 1\n"; 28 echo pg_update($db, $table_name, $fields, $ids, PGSQL_DML_STRING)."\n"; 29 echo pg_update($db, $table_name, $fields, $ids, PGSQL_DML_STRING|PGSQL_DML_ESCAPE)."\n";
|
H A D | 10pg_convert_json_array.phpt | 20 $fields = array( 24 $converted = pg_convert($db, $table_name_92, $fields); 27 if (!pg_insert($db, $table_name_92, $fields)) {
|
H A D | 12pg_insert_9.phpt | 22 $fields = array('num'=>'1234', 'str'=>'AAA', 'bin'=>'BBB'); 24 pg_insert($db, $table_name, $fields) or print "Error in test 1\n"; 25 echo pg_insert($db, $table_name, $fields, PGSQL_DML_STRING)."\n"; 26 echo pg_insert($db, $table_name, $fields, PGSQL_DML_STRING|PGSQL_DML_ESCAPE)."\n"; 27 var_dump( pg_insert($db, $table_name, $fields, PGSQL_DML_EXEC) );
|
H A D | 10pg_convert.phpt | 18 $fields = array('num'=>'1234', 'str'=>'AAA', 'bin'=>'BBB'); 19 $converted = pg_convert($db, $table_name, $fields);
|
H A D | bug64609.phpt | 23 $fields = array('a' => 'ok'); 24 $converted = pg_convert($db, $table_name, $fields);
|
/php-src/ext/curl/tests/ |
H A D | curl_postfields_array.phpt | 2 CURLOPT_POSTFIELDS with multi-value fields 17 $fields = [ 33 CURLOPT_POSTFIELDS => $fields,
|
/php-src/ext/dom/tests/ |
H A D | DOMProcessingInstruction.phpt | 24 echo "--- Test fields ---\n"; 48 echo "--- Test construction with __construct by reflection and fields ---\n"; 73 --- Test fields --- 84 --- Test construction with __construct by reflection and fields ---
|
/php-src/ext/pdo_mysql/ |
H A D | mysql_statement.c | 152 S->fields = mysql_fetch_fields(S->result); in pdo_mysql_fill_stmt_from_result() 175 S->fields = mysql_fetch_fields(S->result); in pdo_mysql_stmt_after_execute_prepared() 189 S->fields = mysql_fetch_fields(S->result); in pdo_mysql_stmt_after_execute_prepared() 203 switch (S->fields[i].type) { in pdo_mysql_stmt_after_execute_prepared() 221 S->fields[i].max_length? S->fields[i].max_length: in pdo_mysql_stmt_after_execute_prepared() 222 S->fields[i].length; in pdo_mysql_stmt_after_execute_prepared() 652 cols[i].name = strpprintf(0, "%s.%s", S->fields[i].table, S->fields[i].name); in pdo_mysql_stmt_describe() 657 cols[i].name = zend_string_init(S->fields[i].name, S->fields[i].name_length, 0); in pdo_mysql_stmt_describe() 661 cols[i].precision = S->fields[i].decimals; in pdo_mysql_stmt_describe() 662 cols[i].maxlen = S->fields[i].length; in pdo_mysql_stmt_describe() [all …]
|