/PHP-5.4/ext/standard/tests/file/ |
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"; 15 1st element is delimiter, 2nd element is enclosure 54 $enclosure = $csv_list[1]; 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 [all …]
|
H A D | fgetcsv_variation4.phpt | 2 Test fgetcsv() : usage variations - with enclosure as NULL 12 echo "*** Testing fgetcsv() : with enclosure as NULL ***\n"; 15 1st element is delimiter, 2nd element is enclosure 51 $enclosure = $csv_list[1]; 91 *** Testing fgetcsv() : with enclosure as NULL *** 95 Warning: fgetcsv(): enclosure must be a character in %s on line %d 102 Warning: fgetcsv(): enclosure must be a character in %s on line %d 109 Warning: fgetcsv(): enclosure must be a character in %s on line %d 116 Warning: fgetcsv(): enclosure must be a character in %s on line %d 123 Warning: fgetcsv(): enclosure must be a character in %s on line %d [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"; 16 1st element is delimiter, 2nd element is enclosure 55 $enclosure = $csv_list[1]; 78 *** Testing fputcsv() : with two chars as enclosure & delimiter *** 84 Notice: fputcsv(): enclosure must be a single character in %s on line %d 95 Notice: fputcsv(): enclosure must be a single character in %s on line %d 106 Notice: fputcsv(): enclosure must be a single character in %s on line %d 117 Notice: fputcsv(): enclosure must be a single character in %s on line %d 128 Notice: fputcsv(): enclosure must be a single character in %s on line %d [all …]
|
H A D | fputcsv_variation14.phpt | 16 1st element is delimiter, 2nd element is enclosure 63 $enclosure = $csv_list[1]; 91 Notice: fputcsv(): enclosure must be a single character in %s on line %d 101 Notice: fputcsv(): enclosure must be a single character in %s on line %d 111 Notice: fputcsv(): enclosure must be a single character in %s on line %d 121 Notice: fputcsv(): enclosure must be a single character in %s on line %d 131 Notice: fputcsv(): enclosure must be a single character in %s on line %d 141 Notice: fputcsv(): enclosure must be a single character in %s on line %d 151 Notice: fputcsv(): enclosure must be a single character in %s on line %d 161 Notice: fputcsv(): enclosure must be a single character in %s on line %d [all …]
|
H A D | fgetcsv_variation12.phpt | 12 echo "*** Testing fgetcsv() : with two chars as enclosure & delimiter ***\n"; 15 1st element is delimiter, 2nd element is enclosure 49 $enclosure = $csv_list[1]; 73 // use delimiter & enclosure char of two chars 92 *** Testing fgetcsv() : with two chars as enclosure & delimiter *** 98 Notice: fgetcsv(): enclosure must be a single character in %s on line %d 110 Notice: fgetcsv(): enclosure must be a single character in %s on line %d 122 Notice: fgetcsv(): enclosure must be a single character in %s on line %d 134 Notice: fgetcsv(): enclosure must be a single character in %s on line %d 146 Notice: fgetcsv(): enclosure must be a single character in %s on line %d [all …]
|
H A D | fgetcsv_variation24.phpt | 12 enclosure argument with two characters 15 echo "*** Testing fgetcsv() : with two chars as enclosure & delimiter ***\n"; 18 1st element is delimiter, 2nd element is enclosure 52 $enclosure = $csv_list[1]; 75 // use delimiter & enclosure char of two chars 94 *** Testing fgetcsv() : with two chars as enclosure & delimiter *** 100 Notice: fgetcsv(): enclosure must be a single character in %s on line %d 112 Notice: fgetcsv(): enclosure must be a single character in %s on line %d 124 Notice: fgetcsv(): enclosure must be a single character in %s on line %d 136 Notice: fgetcsv(): enclosure must be a single character in %s on line %d [all …]
|
H A D | fgetcsv_variation21.phpt | 2 Test fgetcsv() : usage variations - with default enclosure, blank line 6 …pe: array fgetcsv ( resource $handle [, int $length [, string $delimiter [, string $enclosure]]] ); 12 default enclosure argument 15 echo "*** Testing fgetcsv() : with default enclosure, blank line ***\n"; 70 *** Testing fgetcsv() : with default enclosure, blank line ***
|
H A D | fgetcsv_error.phpt | 6 …etcsv ( resource $handle [, int $length [, string $delimiter [, string $enclosure [, string $escap… 20 $enclosure ="\""; 22 var_dump( fgetcsv($fp, $len, $delim, $enclosure, $escape, $fp) ); 39 …var_dump( fgetcsv($invalid_args[$loop_counter - 1], $len, $delim, $enclosure, $escape) ); // all a…
|
H A D | fputcsv_error.phpt | 6 …pe: int fputcsv ( resource $handle [, array $fields [, string $delimiter [, string $enclosure]]] ); 21 $enclosure ="\""; 22 var_dump( fputcsv($fp, $fields, $delim, $enclosure, $fp) ); 39 …var_dump( fputcsv($invalid_args[$loop_counter - 1], $fields, $delim, $enclosure) ); // all args sp…
|
H A D | fgetcsv_variation20.phpt | 2 Test fgetcsv() : usage variations - with default enclosure, line without any csv fields 6 …pe: array fgetcsv ( resource $handle [, int $length [, string $delimiter [, string $enclosure]]] ); 12 when provided with default enclosure value 15 echo "*** Testing fgetcsv() : with default enclosure, line without any csv fields ***\n"; 70 *** Testing fgetcsv() : with default enclosure, line without any csv fields ***
|
H A D | fputcsv_variation7.phpt | 2 Test fputcsv() : usage variations - with different delimiter and same enclosure 6 …e: array fputcsv ( resource $handle , array $fields [, string $delimiter [, string $enclosure]]] ); 11 Testing fputcsv() to write to a file when enclosure is same but delimiter is different from those 15 echo "*** Testing fputcsv() : with different delimiter and same enclosure ***\n"; 18 1st element is delimiter, 2nd element is enclosure 57 $enclosure = $csv_list[1]; 61 var_dump( fputcsv($file_handle, $csv_field, '+', $enclosure) ); 79 *** Testing fputcsv() : with different delimiter and same enclosure ***
|
H A D | fputcsv_variation11.phpt | 2 Test fputcsv() : usage variations - with default enclosure value 6 …e: array fputcsv ( resource $handle , array $fields [, string $delimiter [, string $enclosure]]] ); 10 /* Testing fputcsv() to write to a file when default enclosure value is provided */ 12 echo "*** Testing fputcsv() : with default enclosure value ***\n"; 15 1st element is delimiter, 2nd element is enclosure 54 $enclosure = $csv_list[1]; 76 *** Testing fputcsv() : with default enclosure value ***
|
/PHP-5.4/ext/spl/tests/ |
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 … 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 | 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"; 25 *** Testing fputcsv() : with default enclosure & delimiter of two chars ***
|
H A D | SplFileObject_fputcsv_error.phpt | 16 $enclosure ="\""; 17 var_dump( $fo->fputcsv($fields, $delim, $enclosure, $fo) );
|
H A D | SplTempFileObject_constructor_basic.phpt | 17 ["enclosure":"SplFileObject":private]=>
|
H A D | bug60201.phpt | 22 string(9) "enclosure"
|
H A D | SplTempFileObject_constructor_memory_lt1_variation.phpt | 17 ["enclosure":"SplFileObject":private]=>
|
H A D | SplTempFileObject_constructor_maxmemory_basic.phpt | 17 ["enclosure":"SplFileObject":private]=>
|
H A D | SplFileObject_fgetcsv_enclosure_error.phpt | 22 Warning: SplFileObject::fgetcsv(): enclosure must be a character in %s on line %d
|
H A D | SplFileObject_setCsvControl_error002.phpt | 23 Warning: SplFileObject::setCsvControl(): enclosure must be a character in %s on line %d
|
H A D | SplFileObject_fputcsv_variation7.phpt | 2 Test fputcsv() : usage variations - with different delimiter and same enclosure 7 Testing fputcsv() to write to a file when enclosure is same but delimiter is different from those 11 echo "*** Testing fputcsv() : with different delimiter and same enclosure ***\n"; 14 1st element is delimiter, 2nd element is enclosure 49 $enclosure = $csv_list[1]; 53 var_dump( $fo->fputcsv($csv_field, '+', $enclosure) ); 71 *** Testing fputcsv() : with different delimiter and same enclosure ***
|
/PHP-5.4/ext/spl/internal/ |
H A D | splfileobject.inc | 30 private $enclosure= '"'; 74 * @param enclosure end of 77 function fgetcsv($delimiter = NULL, $enclosure = NULL) 86 $enclosure = $this->enclosure; 95 * Set the delimiter and enclosure character used in fgetcsv 98 * @param enclosure new enclosure, defaults to '"' 100 function setCsvControl($delimiter = ';', $enclosure = '"') 103 $this->enclosure = $enclosure; 107 * @return array(delimiter, enclosure) as used in fgetcsv 109 function getCsvControl($delimiter = ',', $enclosure = '"') [all …]
|
/PHP-5.4/ext/standard/ |
H A D | file.h | 82 PHPAPI void php_fgetcsv(php_stream *stream, char delimiter, char enclosure, char escape_char, size_… 83 PHPAPI int php_fputcsv(php_stream *stream, zval *fields, char delimiter, char enclosure, char escap…
|
H A D | file.c | 1847 enclosure = *enclosure_str; in PHP_FUNCTION() 1877 FPUTCSV_FLD_CHK(enclosure) || in php_fputcsv() 1888 smart_str_appendc(&csvline, enclosure); in php_fputcsv() 1892 } else if (!escaped && *ch == enclosure) { in php_fputcsv() 1893 smart_str_appendc(&csvline, enclosure); in php_fputcsv() 1900 smart_str_appendc(&csvline, enclosure); in php_fputcsv() 1980 enclosure = enclosure_str[0]; in PHP_FUNCTION() 2066 if (*tmp == enclosure) { in php_fgetcsv() 2077 if (inc_len != 0 && *bptr == enclosure) { in php_fgetcsv() 2160 if (*bptr != enclosure) { in php_fgetcsv() [all …]
|