Home
last modified time | relevance | path

Searched refs:enclosure (Results 1 – 25 of 59) sorted by relevance

123

/PHP-5.3/ext/standard/tests/file/
H A Dfputcsv_variation3.phpt2 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 Dfgetcsv_variation4.phpt2 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 Dfputcsv_variation9.phpt2 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 Dfputcsv_variation14.phpt16 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 Dfgetcsv_variation12.phpt12 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 Dfgetcsv_variation24.phpt12 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 Dfgetcsv_variation21.phpt2 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 Dfgetcsv_error.phpt6 …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 Dfputcsv_error.phpt6 …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 Dfgetcsv_variation20.phpt2 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 Dfputcsv_variation7.phpt2 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 Dfputcsv_variation11.phpt2 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 ***
H A Dfputcsv_variation12.phpt2 Test fputcsv() : usage variations - with default enclosure and different delimiter
6 …e: array fputcsv ( resource $handle , array $fields [, string $delimiter [, string $enclosure]]] );
10 /* Testing fputcsv() to write to a file when default enclosure value and delimiter value
13 echo "*** Testing fputcsv() : with default enclosure and different delimiter value ***\n";
16 1st element is delimiter, 2nd element is enclosure
55 $enclosure = $csv_list[1];
77 *** Testing fputcsv() : with default enclosure and different delimiter value ***
H A Dfputcsv_variation8.phpt2 Test fputcsv() : usage variations - with same delimiter and different enclosure
6 …e: array fputcsv ( resource $handle , array $fields [, string $delimiter [, string $enclosure]]] );
11 Testing fputcsv() to write to a file when delimiter is same but enclosure is different from those
15 echo "*** Testing fputcsv() : with same delimiter and different enclosure ***\n";
18 1st element is delimiter, 2nd element is enclosure
57 $enclosure = $csv_list[1];
79 *** Testing fputcsv() : with same delimiter and different enclosure ***
H A Dfgetcsv_variation23.phpt6 …pe: array fgetcsv ( resource $handle [, int $length [, string $delimiter [, string $enclosure]]] );
H A Dfgetcsv_variation26.phpt6 …pe: array fgetcsv ( resource $handle [, int $length [, string $delimiter [, string $enclosure]]] );
15 1st element is delimiter, 2nd element is enclosure
47 $enclosure = $csv_list[1];
64 // use the right delimiter and enclosure with max length
65 var_dump( fgetcsv($file_handle, 1024, $delimiter, $enclosure) );
H A Dfgetcsv_variation8.phpt2 Test fgetcsv() : usage variations - with different delimiter and enclosure
6 …pe: array fgetcsv ( resource $handle [, int $length [, string $delimiter [, string $enclosure]]] );
12 enclosure that are not present in the line read by fgetcsv()
15 echo "*** Testing fgetcsv() : with different delimiter and enclosure ***\n";
18 1st element is delimiter, 2nd element is enclosure
54 $enclosure = $csv_list[1];
78 // use different delimiter and enclosure than existing in file
97 *** Testing fgetcsv() : with different delimiter and enclosure ***
/PHP-5.3/ext/spl/internal/
H A Dsplfileobject.inc30 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.3/ext/spl/tests/
H A DSplTempFileObject_constructor_basic.phpt17 ["enclosure":"SplFileObject":private]=>
H A DSplTempFileObject_constructor_memory_lt1_variation.phpt17 ["enclosure":"SplFileObject":private]=>
H A DSplTempFileObject_constructor_maxmemory_basic.phpt17 ["enclosure":"SplFileObject":private]=>
H A DSplFileObject_fgetcsv_enclosure_error.phpt22 Warning: SplFileObject::fgetcsv(): enclosure must be a character in %s on line %d
/PHP-5.3/ext/standard/tests/strings/
H A Dstr_getcsv_001.phpt6 // string input[, string delimiter[, string enclosure[, string escape]]]
/PHP-5.3/ext/standard/
H A Dfile.c1993 enclosure = *enclosure_str; in PHP_FUNCTION()
2010 FPUTCSV_FLD_CHK(enclosure) || in PHP_FUNCTION()
2021 smart_str_appendc(&csvline, enclosure); in PHP_FUNCTION()
2025 } else if (!escaped && *ch == enclosure) { in PHP_FUNCTION()
2026 smart_str_appendc(&csvline, enclosure); in PHP_FUNCTION()
2033 smart_str_appendc(&csvline, enclosure); in PHP_FUNCTION()
2121 enclosure = enclosure_str[0]; in PHP_FUNCTION()
2206 if (*tmp == enclosure) { in php_fgetcsv()
2217 if (inc_len != 0 && *bptr == enclosure) { in php_fgetcsv()
2300 if (*bptr != enclosure) { in php_fgetcsv()
[all …]
/PHP-5.3/ext/spl/
H A Dspl_directory.h101 char enclosure; member

Completed in 77 milliseconds

123