Home
last modified time | relevance | path

Searched refs:fgetcsv (Results 1 – 25 of 62) sorted by last modified time

123

/php-src/ext/standard/
H A Dbasic_functions.stub.php2893 function fgetcsv($stream, ?int $length = null, string $separator = ",", string $enclosure = "\"", s…
H A Dbasic_functions_arginfo.h2670 ZEND_FUNCTION(fgetcsv);
3307 ZEND_FE(fgetcsv, arginfo_fgetcsv)
H A Dfile.c1826 PHP_FUNCTION(fgetcsv) in PHP_FUNCTION() argument
/php-src/ext/spl/
H A Dspl_directory.c2301 PHP_METHOD(SplFileObject, fgetcsv) in PHP_METHOD() argument
H A Dspl_directory_arginfo.h339 ZEND_METHOD(SplFileObject, fgetcsv);
451 ZEND_ME(SplFileObject, fgetcsv, arginfo_class_SplFileObject_fgetcsv, ZEND_ACC_PUBLIC)
H A Dspl_directory.stub.php253 …public function fgetcsv(string $separator = ",", string $enclosure = "\"", string $escape = "\\"):… function in SplFileObject
/php-src/ext/spl/tests/
H A Dgh13685.phpt11 echo "--- Directly call fgetcsv ---\n";
16 while (($data = $file->fgetcsv(',', '"', ''))) {
43 --- Directly call fgetcsv ---
/php-src/win32/build/
H A Dmkdist.php82 while (($line = fgetcsv($pipes[1]))) {
/php-src/ext/standard/tests/file/
H A Dfgetcsv_variation33.phpt2 fgetcsv() with unterminated enclosure at the end of file
12 while (($data = fgetcsv($stream)) !== false) {
H A Dfputcsv.phpt47 while($l=fgetcsv($fp))
H A Dfputcsv_002.phpt6 $file = __DIR__ .'/fgetcsv-test.csv';
19 $file = __DIR__ .'/fgetcsv-test.csv';
H A Dfputcsv_variation15.phpt49 while($l=fgetcsv($fp, 0, ',', '"', '/'))
H A Dfgetcsv_variation29.phpt66 // call fgetcsv() to parse csv fields
70 var_dump( fgetcsv($file_handle) );
86 -- Testing fgetcsv() with file opened using r mode --
93 -- Testing fgetcsv() with file opened using rb mode --
100 -- Testing fgetcsv() with file opened using rt mode --
107 -- Testing fgetcsv() with file opened using r+ mode --
128 -- Testing fgetcsv() with file opened using a+ mode --
149 -- Testing fgetcsv() with file opened using w+ mode --
170 -- Testing fgetcsv() with file opened using x+ mode --
191 -- Testing fgetcsv() with file opened using r mode --
[all …]
H A Dfgetcsv_variation30.phpt7 and fgetcsv() provided with file handle and length arguments
65 // call fgetcsv() to parse csv fields
69 var_dump( fgetcsv($file_handle, 1024) );
85 -- Testing fgetcsv() with file opened using r mode --
92 -- Testing fgetcsv() with file opened using rb mode --
99 -- Testing fgetcsv() with file opened using rt mode --
106 -- Testing fgetcsv() with file opened using r+ mode --
127 -- Testing fgetcsv() with file opened using a+ mode --
148 -- Testing fgetcsv() with file opened using w+ mode --
190 -- Testing fgetcsv() with file opened using r mode --
[all …]
H A Dfgetcsv_variation31.phpt7 and fgetcsv() provided with enclosure argument
66 // call fgetcsv() to parse csv fields
87 -- Testing fgetcsv() with file opened using r mode --
94 -- Testing fgetcsv() with file opened using rb mode --
101 -- Testing fgetcsv() with file opened using rt mode --
108 -- Testing fgetcsv() with file opened using r+ mode --
129 -- Testing fgetcsv() with file opened using a+ mode --
150 -- Testing fgetcsv() with file opened using w+ mode --
171 -- Testing fgetcsv() with file opened using x+ mode --
192 -- Testing fgetcsv() with file opened using r mode --
[all …]
H A Dfgetcsv_variation32.phpt2 fgetcsv() with empty $escape
13 while (($data = fgetcsv($stream, 0, ',', '"', '')) !== false) {
H A Dfgetcsv_variation6.phpt2 Test fgetcsv() : usage variations - with length less than line size
70 // call fgetcsv() to parse csv fields
96 -- Testing fgetcsv() with file opened using r mode --
112 -- Testing fgetcsv() with file opened using rb mode --
128 -- Testing fgetcsv() with file opened using rt mode --
144 -- Testing fgetcsv() with file opened using r+ mode --
192 -- Testing fgetcsv() with file opened using a+ mode --
240 -- Testing fgetcsv() with file opened using w+ mode --
288 -- Testing fgetcsv() with file opened using x+ mode --
336 -- Testing fgetcsv() with file opened using r mode --
[all …]
H A Dfgetcsv_variation7.phpt2 Test fgetcsv() : usage variations - with default arguments value
71 // call fgetcsv() to parse csv fields
75 var_dump( fgetcsv($file_handle) );
92 -- Testing fgetcsv() with file opened using r mode --
102 -- Testing fgetcsv() with file opened using rb mode --
112 -- Testing fgetcsv() with file opened using rt mode --
122 -- Testing fgetcsv() with file opened using r+ mode --
152 -- Testing fgetcsv() with file opened using a+ mode --
182 -- Testing fgetcsv() with file opened using w+ mode --
242 -- Testing fgetcsv() with file opened using r mode --
[all …]
H A Dfgetcsv_variation8.phpt7 enclosure that are not present in the line read by fgetcsv()
71 // call fgetcsv() to parse csv fields
94 -- Testing fgetcsv() with file opened using r mode --
102 -- Testing fgetcsv() with file opened using rb mode --
110 -- Testing fgetcsv() with file opened using rt mode --
118 -- Testing fgetcsv() with file opened using r+ mode --
142 -- Testing fgetcsv() with file opened using a+ mode --
166 -- Testing fgetcsv() with file opened using w+ mode --
190 -- Testing fgetcsv() with file opened using x+ mode --
214 -- Testing fgetcsv() with file opened using r mode --
[all …]
H A Dfgetcsv_variation9.phpt11 present in the line being read by the fgetcsv()
74 // call fgetcsv() to parse csv fields
96 -- Testing fgetcsv() with file opened using r mode --
104 -- Testing fgetcsv() with file opened using rb mode --
112 -- Testing fgetcsv() with file opened using rt mode --
120 -- Testing fgetcsv() with file opened using r+ mode --
144 -- Testing fgetcsv() with file opened using a+ mode --
168 -- Testing fgetcsv() with file opened using w+ mode --
192 -- Testing fgetcsv() with file opened using x+ mode --
216 -- Testing fgetcsv() with file opened using r mode --
[all …]
H A Dfgetcsv.phpt2 various fgetcsv() functionality tests
30 $file = __DIR__ . '/fgetcsv.csv';
37 var_dump(fgetcsv(fopen($file, "r"), 1024));
H A Dfgetcsv_error_conditions.phpt2 Various fgetcsv() error conditions
13 echo 'fgetcsv() with negative length' . \PHP_EOL;
15 var_dump( fgetcsv($file_handle, -10) );
20 var_dump( fgetcsv($file_handle, -10, $delimiter) );
30 echo 'fgetcsv() with delimiter as empty string' . \PHP_EOL;
37 echo 'fgetcsv() with enclosure as empty string' . \PHP_EOL;
46 var_dump( fgetcsv($file_handle, $length, '', '') );
52 fgetcsv() with negative length
56 fgetcsv() with delimiter as empty string
58 fgetcsv() with enclosure as empty string
[all …]
/php-src/ext/standard/tests/strings/
H A Dbug55674.phpt2 Bug #55674 (fgetcsv & str_getcsv skip empty fields in some tab-separated records)
H A Dbug65947.phpt2 Bug #65947 (basename is no more working after fgetcsv in certain situation)
/php-src/ext/standard/tests/general_functions/
H A D004.phpt2 fgetcsv() with tab delimited fields (BUG #8258)
7 while($a=fgetcsv($fp,100,"\t")) {

Completed in 87 milliseconds

123