/PHP-7.4/ext/standard/tests/file/ |
H A D | fgetcsv_variation24.phpt | 7 Description: Gets line from file pointer and parse for CSV fields 19 and 3rd element is csv fields 41 // create the file and add the content with has csv fields 58 fwrite($file_handle, "This is line of text without csv fields\n"); 73 // call fgetcsv() to parse csv fields
|
H A D | fgetcsv_variation25.phpt | 7 Description: Gets line from file pointer and parse for CSV fields 19 and 3rd element is csv fields 43 // create the file and add the content with has csv fields 61 fwrite($file_handle, "This is line of text without csv fields\n"); 76 // call fgetcsv() to parse csv fields
|
H A D | fgetcsv_variation26.phpt | 7 Description: Gets line from file pointer and parse for CSV fields 16 and 3rd element is csv fields 39 // create the file and add the content with has csv fields 54 fwrite($file_handle, "This is line of text without csv fields\n"); 62 // call fgetcsv() to parse csv fields
|
H A D | fgetcsv_variation27.phpt | 7 Description: Gets line from file pointer and parse for CSV fields 19 and 3rd element is csv fields 43 // create the file and add the content with has csv fields 61 fwrite($file_handle, "This is line of text without csv fields\n"); 76 // call fgetcsv() to parse csv fields
|
H A D | fgetcsv_variation28.phpt | 7 Description: Gets line from file pointer and parse for CSV fields 19 and 3rd element is csv fields 43 // create the file and add the content with has csv fields 61 fwrite($file_handle, "This is line of text without csv fields\n"); 76 // call fgetcsv() to parse csv fields
|
H A D | fgetcsv_variation29.phpt | 7 Description: Gets line from file pointer and parse for CSV fields 18 1st element is delimiter & 2nd element is csv fields 39 // create the file and add the content with has csv fields 56 fwrite($file_handle, "This is line of text without csv fields\n"); 71 // call fgetcsv() to parse csv fields
|
H A D | fgetcsv_variation3.phpt | 7 Description: Gets line from file pointer and parse for CSV fields 16 and 3rd element is csv fields 40 // create the file and add the content with has csv fields 58 fwrite($file_handle, "This is line of text without csv fields\n"); 73 // call fgetcsv() to parse csv fields
|
H A D | fgetcsv_variation30.phpt | 7 Description: Gets line from file pointer and parse for CSV fields 18 1st element is delimiter & 2nd element is csv fields 39 // create the file and add the content with has csv fields 56 fwrite($file_handle, "This is line of text without csv fields\n"); 70 // call fgetcsv() to parse csv fields
|
H A D | fgetcsv_variation31.phpt | 7 Description: Gets line from file pointer and parse for CSV fields 18 1st element is delimiter & 2nd element is csv fields 39 // create the file and add the content with has csv fields 56 fwrite($file_handle, "This is line of text without csv fields\n"); 71 // call fgetcsv() to parse csv fields
|
H A D | fgetcsv_variation4.phpt | 7 Description: Gets line from file pointer and parse for CSV fields 16 and 3rd element is csv fields 40 // create the file and add the content with has csv fields 57 fwrite($file_handle, "This is line of text without csv fields\n"); 72 // call fgetcsv() to parse csv fields
|
H A D | fgetcsv_variation5.phpt | 7 Description: Gets line from file pointer and parse for CSV fields 19 and 3rd element is csv fields 43 // create the file and add the content with has csv fields 60 fwrite($file_handle, "This is line of text without csv fields\n"); 75 // call fgetcsv() to parse csv fields
|
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_variation7.phpt | 7 Description: Gets line from file pointer and parse for CSV fields 16 and 3rd element is csv fields 40 // create the file and add the content with has csv fields 57 fwrite($file_handle, "This is line of text without csv fields\n"); 72 // call fgetcsv() to parse csv fields
|
H A D | fgetcsv_variation8.phpt | 7 Description: Gets line from file pointer and parse for CSV fields 19 and 3rd element is csv fields 43 // create the file and add the content with has csv fields 61 fwrite($file_handle, "This is line of text without csv fields\n"); 76 // call fgetcsv() to parse csv fields
|
H A D | fgetcsv_variation9.phpt | 7 Description: Gets line from file pointer and parse for CSV fields 19 and 3rd element is csv fields 43 // create the file and add the content with has csv fields 60 fwrite($file_handle, "This is line of text without csv fields\n"); 75 // call fgetcsv() to parse csv fields
|
H A D | file.inc | 572 function compare_stats( array $stat1, array $stat2, array $fields, 583 $fields = contains the key of the elements that needs to be compared. 593 function compare_stats($stat1, $stat2, $fields, $op = "==", $flag = false ) { 603 for($index = 0; $index < count($fields); $index++) 608 if ( $stat1[ $fields[$index] ] != $stat2[ $fields[$index] ] ) { 610 echo "Error: stat1 do not match with stat2 at key value: $fields[$index]\n"; 615 if ( $stat1[ $fields[$index] ] != $stat2[ $fields[$index] ] ) { 619 echo "Error: stat1 equals stat2 at key value: $fields[$index]\n"; 624 if ( $stat1[ $fields[$index] ] <= $stat2[ $fields[$index] ] ) { 631 if ( $stat1[ $fields[$index] ] >= $stat2[ $fields[$index] ] ) { [all …]
|
H A D | fputcsv_variation1.phpt | 6 …Prototype: array fputcsv ( resource $handle , array $fields [, string $delimiter [, string $enclos… 16 and 3rd element is csv fields 43 // create the file and add the content with has csv fields
|
H A D | fputcsv_variation10.phpt | 2 Test fputcsv() : usage variations - with line without any csv fields 6 …Prototype: array fputcsv ( resource $handle , array $fields [, string $delimiter [, string $enclos… 17 and 3rd element is csv fields 20 $fields = array( array('water_fruit\n'), 34 foreach ($fields as $field) { 38 // create the file and add the content with has csv fields
|
H A D | fputcsv_variation11.phpt | 6 …Prototype: array fputcsv ( resource $handle , array $fields [, string $delimiter [, string $enclos… 16 and 3rd element is csv fields 43 // create the file and add the content with has csv fields
|
H A D | fputcsv_variation12.phpt | 6 …Prototype: array fputcsv ( resource $handle , array $fields [, string $delimiter [, string $enclos… 17 and 3rd element is csv fields 44 // create the file and add the content with has csv fields
|
H A D | fputcsv_variation13.phpt | 6 …Prototype: array fputcsv ( resource $handle , array $fields [, string $delimiter [, string $enclos… 17 and 3rd element is csv fields 44 // create the file and add the content with has csv fields
|
H A D | fputcsv_variation14.phpt | 6 …Prototype: array fputcsv ( resource $handle , array $fields [, string $delimiter [, string $enclos… 17 and 3rd element is csv fields 56 // add the content with has csv fields
|
H A D | fputcsv_variation2.phpt | 6 …Prototype: array fputcsv ( resource $handle , array $fields [, string $delimiter [, string $enclos… 16 and 3rd element is csv fields 43 // create the file and add the content with has csv fields
|
H A D | fputcsv_variation3.phpt | 6 …Prototype: array fputcsv ( resource $handle , array $fields [, string $delimiter [, string $enclos… 16 and 3rd element is csv fields 43 // create the file and add the content with has csv fields
|
H A D | fputcsv_variation4.phpt | 6 …Prototype: array fputcsv ( resource $handle , array $fields [, string $delimiter [, string $enclos… 16 and 3rd element is csv fields 43 // create the file and add the content with has csv fields
|