/PHP-5.6/ext/standard/tests/file/ |
H A D | fputcsv_error.phpt | 2 Test fputcsv() function : error conditions 13 echo "-- Testing fputcsv() with zero argument --\n"; 14 var_dump( fputcsv() ); 17 echo "-- Testing fputcsv() with more than expected number of arguments --\n"; 22 var_dump( fputcsv($fp, $fields, $delim, $enclosure, $fp) ); 26 echo "-- Testing fputcsv() with invalid arguments --\n"; 35 /* loop to test fputcsv() with different invalid type of args */ 45 -- Testing fputcsv() with zero argument -- 47 Warning: fputcsv() expects at least 2 parameters, 0 given in %s on line %d 49 -- Testing fputcsv() with more than expected number of arguments -- [all …]
|
H A D | fputcsv_variation9.phpt | 2 Test fputcsv() : usage variations - two chars as enclosure & delimiter 13 echo "*** Testing fputcsv() : with two chars as enclosure & delimiter ***\n"; 59 var_dump( fputcsv($file_handle, $csv_field, '++', '%%' 78 *** Testing fputcsv() : with two chars as enclosure & delimiter *** 82 Notice: fputcsv(): delimiter must be a single character in %s on line %d 84 Notice: fputcsv(): enclosure must be a single character in %s on line %d 93 Notice: fputcsv(): delimiter must be a single character in %s on line %d 95 Notice: fputcsv(): enclosure must be a single character in %s on line %d 104 Notice: fputcsv(): delimiter must be a single character in %s on line %d 106 Notice: fputcsv(): enclosure must be a single character in %s on line %d [all …]
|
H A D | fputcsv_variation14.phpt | 67 var_dump( fputcsv($file_handle, $csv_field, '++', '%%') ); 89 Notice: fputcsv(): delimiter must be a single character in %s on line %d 91 Notice: fputcsv(): enclosure must be a single character in %s on line %d 99 Notice: fputcsv(): delimiter must be a single character in %s on line %d 101 Notice: fputcsv(): enclosure must be a single character in %s on line %d 109 Notice: fputcsv(): delimiter must be a single character in %s on line %d 111 Notice: fputcsv(): enclosure must be a single character in %s on line %d 119 Notice: fputcsv(): delimiter must be a single character in %s on line %d 121 Notice: fputcsv(): enclosure must be a single character in %s on line %d 129 Notice: fputcsv(): delimiter must be a single character in %s on line %d [all …]
|
H A D | fputcsv_variation3.phpt | 2 Test fputcsv() : usage variations - with enclosure as NULL 10 /* Testing fputcsv() to write to a file when enclosure is NULL */ 12 echo "*** Testing fputcsv() : with enclosure as NULL ***\n"; 76 *** Testing fputcsv() : with enclosure as NULL *** 80 Warning: fputcsv(): enclosure must be a character in %s on line %d 88 Warning: fputcsv(): enclosure must be a character in %s on line %d 96 Warning: fputcsv(): enclosure must be a character in %s on line %d 104 Warning: fputcsv(): enclosure must be a character in %s on line %d 112 Warning: fputcsv(): enclosure must be a character in %s on line %d 120 Warning: fputcsv(): enclosure must be a character in %s on line %d [all …]
|
H A D | fputcsv_variation2.phpt | 2 Test fputcsv() : usage variations - with delimiter as NULL 10 /* Testing fputcsv() to write to a file when delimiter is NULL */ 12 echo "*** Testing fputcsv() : with delimiter as NULL ***\n"; 76 *** Testing fputcsv() : with delimiter as NULL *** 80 Warning: fputcsv(): delimiter must be a character in %s on line %d 88 Warning: fputcsv(): delimiter must be a character in %s on line %d 96 Warning: fputcsv(): delimiter must be a character in %s on line %d 104 Warning: fputcsv(): delimiter must be a character in %s on line %d 112 Warning: fputcsv(): delimiter must be a character in %s on line %d 120 Warning: fputcsv(): delimiter must be a character in %s on line %d [all …]
|
H A D | fputcsv_variation4.phpt | 2 Test fputcsv() : usage variations - with delimiter and enclosure as NULL 58 var_dump( fputcsv($file_handle, $csv_field, NULL, NULL) ); 76 *** Testing fputcsv() : with delimiter and enclosure as NULL *** 80 Warning: fputcsv(): delimiter must be a character in %s on line %d 88 Warning: fputcsv(): delimiter must be a character in %s on line %d 96 Warning: fputcsv(): delimiter must be a character in %s on line %d 104 Warning: fputcsv(): delimiter must be a character in %s on line %d 112 Warning: fputcsv(): delimiter must be a character in %s on line %d 120 Warning: fputcsv(): delimiter must be a character in %s on line %d 128 Warning: fputcsv(): delimiter must be a character in %s on line %d [all …]
|
H A D | fputcsv_variation13.phpt | 2 Test fputcsv() : usage variations - with default enclosure & delimiter of two chars 59 var_dump( fputcsv($file_handle, $csv_field, '++') ); 81 Notice: fputcsv(): delimiter must be a single character in %s on line %d 90 Notice: fputcsv(): delimiter must be a single character in %s on line %d 99 Notice: fputcsv(): delimiter must be a single character in %s on line %d 108 Notice: fputcsv(): delimiter must be a single character in %s on line %d 117 Notice: fputcsv(): delimiter must be a single character in %s on line %d 126 Notice: fputcsv(): delimiter must be a single character in %s on line %d 135 Notice: fputcsv(): delimiter must be a single character in %s on line %d 144 Notice: fputcsv(): delimiter must be a single character in %s on line %d [all …]
|
H A D | fputcsv_002.phpt | 2 fputcsv(): Checking data after calling the function 12 fputcsv($fp, $data);
|
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… 11 /* Testing fputcsv() to write to a file when the field has no CSV format */ 13 echo "*** Testing fputcsv() : with no CSV format in the field ***\n"; 51 var_dump( fputcsv($file_handle, $csv_field) ); 70 *** Testing fputcsv() : with no CSV format in the field ***
|
H A D | fputcsv.phpt | 2 various fputcsv() functionality tests 34 fputcsv($fp, explode(',', $v));
|
H A D | fputcsv_variation15.phpt | 2 various fputcsv() functionality tests 36 fputcsv($fp, explode(',', $v), ',', '"', '/');
|
H A D | fputcsv_variation1.phpt | 2 Test fputcsv() : usage variations - with all parameters specified 6 …Prototype: array fputcsv ( resource $handle , array $fields [, string $delimiter [, string $enclos… 10 /* Testing fputcsv() to write to a file when all its parameters are provided */ 12 echo "*** Testing fputcsv() : with all parameters specified ***\n"; 58 var_dump( fputcsv($file_handle, $csv_field, $delimiter, $enclosure) ); 76 *** Testing fputcsv() : with all parameters specified ***
|
H A D | fputcsv_variation6.phpt | 2 Test fputcsv() : usage variations - with different delimiter and enclosure 6 …Prototype: array fputcsv ( resource $handle , array $fields [, string $delimiter [, string $enclos… 11 Testing fputcsv() to write to a file when delimiter are different from those 15 echo "*** Testing fputcsv() : with different delimiter and enclosure ***\n"; 61 var_dump( fputcsv($file_handle, $csv_field, '+', '%') ); 79 *** Testing fputcsv() : with different delimiter and enclosure ***
|
/PHP-5.6/ext/spl/tests/ |
H A D | SplFileObject_fputcsv_error.phpt | 2 SplFileObject::fputcsv(): error conditions 9 echo "-- Testing fputcsv() with zero argument --\n"; 10 var_dump( $fo->fputcsv() ); 13 echo "-- Testing fputcsv() with more than expected number of arguments --\n"; 18 var_dump( $fo->fputcsv($fields, $delim, $enclosure, $escape, $fo) ); 28 -- Testing fputcsv() with zero argument -- 30 Warning: SplFileObject::fputcsv() expects at least 1 parameter, 0 given in %s on line %d 32 -- Testing fputcsv() with more than expected number of arguments -- 34 Warning: SplFileObject::fputcsv() expects at most 4 parameters, 5 given in %s on line %d
|
H A D | SplFileObject_fputcsv_variation13.phpt | 2 Test fputcsv() : usage variations - with default enclosure & delimiter of two chars 6 /* Testing fputcsv() to write to a file when default enclosure value and delimiter 9 echo "*** Testing fputcsv() : with default enclosure & delimiter of two chars ***\n"; 13 var_dump($fo->fputcsv(array('water', 'fruit'), ',,', '"')); 25 *** Testing fputcsv() : with default enclosure & delimiter of two chars *** 27 Warning: SplFileObject::fputcsv(): delimiter must be a character in %s on line %d
|
H A D | SplFileObject_fputcsv_variation14.phpt | 2 Test fputcsv() : usage variations - with enclosure & delimiter of two chars 6 /* Testing fputcsv() to write to a file when default enclosure value and delimiter 9 echo "*** Testing fputcsv() : with enclosure & delimiter of two chars and file opened in read mode … 13 var_dump($fo->fputcsv(array('water', 'fruit'), ',,', '""')); 25 *** Testing fputcsv() : with enclosure & delimiter of two chars and file opened in read mode *** 27 Warning: SplFileObject::fputcsv(): enclosure must be a character in %s on line %d
|
H A D | bug68479.phpt | 2 Bug #68479 (Escape parameter missing from SplFileObject::fputcsv) 6 $method = new ReflectionMethod('SplFileObject', 'fputcsv');
|
H A D | SplFileObject_fputcsv_002.phpt | 2 SplFileObject::fputcsv(): Checking data after calling the function 9 $fo->fputcsv($data);
|
H A D | SplFileObject_fputcsv_variation10.phpt | 2 SplFileObject::fputcsv(): Usage variations -- with line without any CSV fields 6 /* Testing fputcsv() to write to a file when the field has no CSV format */ 8 echo "*** Testing fputcsv() : with no CSV format in the field ***\n"; 42 var_dump( $fo->fputcsv($csv_field) ); 61 *** Testing fputcsv() : with no CSV format in the field ***
|
H A D | SplFileObject_fputcsv.phpt | 2 SplFileObject::fputcsv(): functionality tests 32 $fo->fputcsv(explode(',', $v));
|
H A D | SplFileObject_fgetcsv_delimiter_basic.phpt | 6 fputcsv($fp, array(
|
H A D | SplFileObject_fgetcsv_enclosure_basic.phpt | 6 fputcsv($fp, array(
|
H A D | SplFileObject_fgetcsv_basic.phpt | 6 fputcsv($fp, array(
|
H A D | SplFileObject_fgetcsv_delimiter_error.phpt | 6 fputcsv($fp, array(
|
H A D | SplFileObject_fgetcsv_enclosure_error.phpt | 6 fputcsv($fp, array(
|