/PHP-5.4/ext/mysqli/tests/ |
H A D | mysqli_stmt_get_result_metadata.phpt | 78 $fields = array(); 80 $fields['res'][] = $info; 83 $fields['meta'][] = $info; 88 if (count($fields['res']) != count($fields['meta'])) { 89 printf("[014] stmt_get_result indicates %d fields, stmt_result_metadata indicates %d fields\n", 90 count($fields['res']), 91 count($fields['meta'])); 142 $fields['all_res'][$k]->max_length = $fields['all_meta'][$k]->max_length; 144 if ($fields['all_res'][$k] != $fields['all_meta'][$k]) { 152 $num = count($fields['res']); [all …]
|
H A D | mysqli_explain_metadata.phpt | 44 $fields = mysqli_fetch_fields($res); 45 if (($tmp = count($fields)) !== $num_fields) { 50 foreach ($fields as $k => $field) { 96 if ($fields_res_meta != $fields) { 99 var_dump($fields); 131 reset($fields); 133 list(,$fields_val) = each($fields); 143 if ($fields_stmt != $fields) { 146 var_dump($fields);
|
H A D | mysqli_stmt_fetch_fields_win32_unicode.phpt | 20 !($fields = mysqli_fetch_fields($result))) { 37 if (!($fields = mysqli_fetch_fields($result)))
|
/PHP-5.4/ext/ereg/regex/ |
H A D | split.c | 9 split(string, fields, nfields, sep) in split() argument 20 register char **fp = fields; 158 char *fields[MNF]; local 187 char *fields[NF]; local 191 print(nf, NF, fields); 194 print(nf, nfp, fields) in print() argument 197 char *fields[]; 281 char *fields[RNF+1]; in regress() local 289 fields[RNF] = NULL; in regress() 301 f = fields[i]; in regress() [all …]
|
/PHP-5.4/ext/standard/tests/file/ |
H A D | fgetcsv_variation20.phpt | 52 // call fgetcsv() to parse 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" 139 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 73 string(39) "This is line of text without csv fields" 81 string(39) "This is line of text without csv fields" 89 string(39) "This is line of text without csv fields" 97 string(39) "This is line of text without csv fields" 105 string(39) "This is line of text without csv fields" 113 string(39) "This is line of text without csv fields" 121 string(39) "This is line of text without csv fields" 129 string(39) "This is line of text without csv fields" 137 string(39) "This is line of text without csv fields" [all …]
|
H A D | fgetcsv_variation6.phpt | 606 string(6) "fields" 636 string(6) "fields" 666 string(6) "fields" 696 string(6) "fields" 726 string(6) "fields" 756 string(6) "fields" 786 string(6) "fields" 816 string(6) "fields" 846 string(6) "fields" 876 string(6) "fields" [all …]
|
H A D | fgetcsv_variation17.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_variation15.phpt | 67 // call fgetcsv() to parse csv fields 724 This is line of text without csv fields 739 This is line of text without csv fields 754 This is line of text without csv fields 769 This is line of text without csv fields 784 This is line of text without csv fields 799 This is line of text without csv fields 814 This is line of text without csv fields 829 This is line of text without csv fields 844 This is line of text without csv fields [all …]
|
H A D | fgetcsv_variation16.phpt | 69 // call fgetcsv() to parse csv fields 728 This is line of text without csv fields 743 This is line of text without csv fields 758 This is line of text without csv fields 773 This is line of text without csv fields 788 This is line of text without csv fields 803 This is line of text without csv fields 818 This is line of text without csv fields 833 This is line of text without csv fields 848 This is line of text without csv fields [all …]
|
H A D | fputcsv_error.phpt | 6 …Prototype: int fputcsv ( resource $handle [, array $fields [, string $delimiter [, string $enclosu… 7 …Description:fputcsv() formats a line (passed as a fields array) as CSV and write it to the specifi… 19 $fields = array("fld1", "fld2"); 22 var_dump( fputcsv($fp, $fields, $delim, $enclosure, $fp) ); 39 …var_dump( fputcsv($invalid_args[$loop_counter - 1], $fields, $delim, $enclosure) ); // all args sp…
|
/PHP-5.4/ext/mysqlnd/ |
H A D | mysqlnd_result_meta.c | 161 if (meta->fields[i].root) { in MYSQLND_METHOD() 164 meta->fields[i].root = NULL; in MYSQLND_METHOD() 186 meta->fields[i].type); in MYSQLND_METHOD() 190 meta->fields[i].type); in MYSQLND_METHOD() 231 meta->fields[i].name, in MYSQLND_METHOD() 270 MYSQLND_FIELD *fields; in MYSQLND_METHOD() local 274 if ((fields = meta->fields)) { in MYSQLND_METHOD() 281 meta->fields = NULL; in MYSQLND_METHOD() 417 meta->fields[meta->current_field].name? meta->fields[meta->current_field].name:"", in MYSQLND_METHOD() 431 meta->fields[meta->current_field].name? meta->fields[meta->current_field].name:"", in MYSQLND_METHOD() [all …]
|
/PHP-5.4/ext/pgsql/tests/ |
H A D | 12pg_insert.phpt | 15 $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 D | 12pg_insert_9.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.phpt | 15 $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";
|
H A D | 14pg_update_9.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";
|
H A D | 10pg_convert.phpt | 16 $fields = array('num'=>'1234', 'str'=>'AAA', 'bin'=>'BBB'); 17 $converted = pg_convert($db, $table_name, $fields);
|
H A D | 10pg_convert_9.phpt | 17 $fields = array('num'=>'1234', 'str'=>'AAA', 'bin'=>'BBB'); 18 $converted = pg_convert($db, $table_name, $fields);
|
H A D | bug64609.phpt | 19 $fields = array('a' => 'ok'); 20 $converted = pg_convert($db, 'test_enum', $fields);
|
/PHP-5.4/ext/pdo_mysql/ |
H A D | mysql_statement.c | 151 S->fields = mysql_fetch_fields(S->result); in pdo_mysql_fill_stmt_from_result() 189 S->fields = mysql_fetch_fields(S->result); in pdo_mysql_stmt_execute_prepared_libmysql() 212 switch (S->fields[i].type) { in pdo_mysql_stmt_execute_prepared_libmysql() 230 S->fields[i].max_length? S->fields[i].max_length: in pdo_mysql_stmt_execute_prepared_libmysql() 231 S->fields[i].length; in pdo_mysql_stmt_execute_prepared_libmysql() 300 S->fields = mysql_fetch_fields(S->result); in pdo_mysql_stmt_execute_prepared_mysqlnd() 681 namelen = spprintf(&cols[i].name, 0, "%s.%s", S->fields[i].table, S->fields[i].name); 684 namelen = strlen(S->fields[i].name); 689 cols[i].precision = S->fields[i].decimals; 690 cols[i].maxlen = S->fields[i].length; [all …]
|
/PHP-5.4/ext/imap/tests/ |
H A D | imap_rfc822_parse_headers_basic.phpt | 17 $fields = array ('toaddress','to','fromaddress','from', 24 echo "Check general fields\n"; 25 foreach ($fields as $key) { 93 Check general fields
|
H A D | imap_headerinfo_basic.phpt | 17 $fields = array ('toaddress','to','fromaddress','from', 24 echo "Check general fields\n"; 25 foreach ($fields as $key) { 93 Check general fields
|
/PHP-5.4/ext/mbstring/libmbfl/tests/conv_encoding.tests/ |
H A D | gen_exp.c | 409 const char *fields[16]; in main() local 417 if (field >= sizeof(fields) / sizeof(*fields)) { in main() 449 fields[field++] = q; in main() 462 cp_932 = strtol(fields[0], NULL, 0); in main() 464 fprintf(stderr, "Malformed field value: %s\n", fields[0]); in main() 468 cp_uni = strtol(fields[1], NULL, 0); in main() 470 fprintf(stderr, "Malformed field value: %s\n", fields[1]); in main()
|
/PHP-5.4/ext/spl/tests/ |
H A D | SplFileObject_fputcsv_error.phpt | 14 $fields = array("fld1", "fld2"); 17 var_dump( $fo->fputcsv($fields, $delim, $enclosure, $fo) );
|
/PHP-5.4/ext/mssql/ |
H A D | php_mssql.c | 326 if (free_fields && result->fields) { in _free_result() 328 STR_FREE(result->fields[i].name); in _free_result() 329 STR_FREE(result->fields[i].column_source); in _free_result() 331 efree(result->fields); in _free_result() 1217 result->fields[i].name = estrdup(fname); 1224 result->fields[i].name = estrdup(computed_buf); 1236 result->fields[i].type = coltype(i+1); 1238 switch (result->fields[i].type) { 1247 result->fields[i].numeric = 1; 1253 result->fields[i].numeric = 0; [all …]
|