Home
last modified time | relevance | path

Searched refs:delimiter (Results 1 – 25 of 96) sorted by relevance

1234

/PHP-5.3/ext/standard/tests/strings/
H A Dbug20169.phpt6 $delimiter = "|";
8 echo "delimiter: $delimiter\n";
9 implode($delimiter, array("foo", "bar"));
10 echo "delimiter: $delimiter\n";
13 delimiter: |
14 delimiter: |
H A Dexplode1.phpt34 foreach($delimiters as $delimiter) {
36 var_dump( explode($delimiter, $string, -1) );
37 var_dump( explode($delimiter, $string, 0) );
38 var_dump( explode($delimiter, $string, 1) );
39 var_dump( explode($delimiter, $string, 2) );
91 Warning: explode(): Empty delimiter in %s on line %d
94 Warning: explode(): Empty delimiter in %s on line %d
97 Warning: explode(): Empty delimiter in %s on line %d
100 Warning: explode(): Empty delimiter in %s on line %d
104 Warning: explode(): Empty delimiter in %s on line %d
[all …]
H A Dexplode_variation1.phpt2 Test explode() function : usage variations - test values for $delimiter argument
6 /* Prototype : array explode ( string $delimiter , string $string [, int $limit ] )
11 echo "*** Testing explode() function: with unexpected inputs for 'delimiter' argument ***\n";
86 *** Testing explode() function: with unexpected inputs for 'delimiter' argument ***
155 Warning: explode(): Empty delimiter in %s on line %d
166 Warning: explode(): Empty delimiter in %s on line %d
170 Warning: explode(): Empty delimiter in %s on line %d
174 Warning: explode(): Empty delimiter in %s on line %d
187 Warning: explode(): Empty delimiter in %s on line %d
191 Warning: explode(): Empty delimiter in %s on line %d
/PHP-5.3/ext/standard/tests/file/
H A Dfputcsv_variation2.phpt2 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";
15 1st element is delimiter, 2nd element is enclosure
53 $delimiter = $csv_list[0];
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
[all …]
H A Dfputcsv_variation4.phpt2 Test fputcsv() : usage variations - with delimiter and enclosure as NULL
15 1st element is delimiter, 2nd element is enclosure
53 $delimiter = $csv_list[0];
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
[all …]
H A Dfputcsv_variation13.phpt2 Test fputcsv() : usage variations - with default enclosure & delimiter of two chars
16 1st element is delimiter, 2nd element is enclosure
54 $delimiter = $csv_list[0];
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
[all …]
H A Dfgetcsv_variation3.phpt2 Test fgetcsv() : usage variations - with delimiter as NULL
12 echo "*** Testing fgetcsv() : with delimiter as NULL ***\n";
15 1st element is delimiter, 2nd element is enclosure
50 $delimiter = $csv_list[0];
92 *** Testing fgetcsv() : with delimiter as NULL ***
96 Warning: fgetcsv(): delimiter must be a character in %s on line %d
103 Warning: fgetcsv(): delimiter must be a character in %s on line %d
110 Warning: fgetcsv(): delimiter must be a character in %s on line %d
117 Warning: fgetcsv(): delimiter must be a character in %s on line %d
124 Warning: fgetcsv(): delimiter must be a character in %s on line %d
[all …]
H A Dfgetcsv_variation5.phpt2 Test fgetcsv() : usage variations - with delimiter & enclosure as NULL
11 Testing fgetcsv() to read from a file when provided with delimiter and
15 echo "*** Testing fgetcsv() : with delimiter & enclosure as NULL ***\n";
18 1st element is delimiter, 2nd element is enclosure
53 $delimiter = $csv_list[0];
93 *** Testing fgetcsv() : with delimiter & enclosure as NULL ***
97 Warning: fgetcsv(): delimiter must be a character in %s on line %d
104 Warning: fgetcsv(): delimiter must be a character in %s on line %d
111 Warning: fgetcsv(): delimiter must be a character in %s on line %d
118 Warning: fgetcsv(): delimiter must be a character in %s on line %d
[all …]
H A Dfgetcsv_variation19.phpt2 Test fgetcsv() : usage variations - with default enclosure & delimiter of two chars
12 and with delimiter of two characters
18 1st element is delimiter & 2nd element is csv fields
49 $delimiter = $csv_list[0];
72 // use delimiter & enclosure char of two chars
94 Notice: fgetcsv(): delimiter must be a single character in %s on line %d
104 Notice: fgetcsv(): delimiter must be a single character in %s on line %d
114 Notice: fgetcsv(): delimiter must be a single character in %s on line %d
124 Notice: fgetcsv(): delimiter must be a single character in %s on line %d
134 Notice: fgetcsv(): delimiter must be a single 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
54 $delimiter = $csv_list[0];
78 *** Testing fputcsv() : with two chars as enclosure & delimiter ***
82 Notice: fputcsv(): delimiter must be a single character in %s on line %d
93 Notice: fputcsv(): delimiter must be a single character in %s on line %d
104 Notice: fputcsv(): delimiter must be a single character in %s on line %d
115 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
[all …]
H A Dfputcsv_variation14.phpt16 1st element is delimiter, 2nd element is enclosure
62 $delimiter = $csv_list[0];
89 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
109 Notice: fputcsv(): delimiter must be a single character in %s on line %d
119 Notice: fputcsv(): delimiter must be a single character in %s on line %d
129 Notice: fputcsv(): delimiter must be a single character in %s on line %d
139 Notice: fputcsv(): delimiter must be a single character in %s on line %d
149 Notice: fputcsv(): delimiter must be a single character in %s on line %d
159 Notice: fputcsv(): delimiter 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
48 $delimiter = $csv_list[0];
73 // use delimiter & enclosure char of two chars
92 *** Testing fgetcsv() : with two chars as enclosure & delimiter ***
96 Notice: fgetcsv(): delimiter must be a single character in %s on line %d
108 Notice: fgetcsv(): delimiter must be a single character in %s on line %d
120 Notice: fgetcsv(): delimiter must be a single character in %s on line %d
132 Notice: fgetcsv(): delimiter must be a single character in %s on line %d
144 Notice: fgetcsv(): delimiter must be a single character in %s on line %d
[all …]
H A Dfgetcsv_variation24.phpt15 echo "*** Testing fgetcsv() : with two chars as enclosure & delimiter ***\n";
18 1st element is delimiter, 2nd element is enclosure
51 $delimiter = $csv_list[0];
75 // use delimiter & enclosure char of two chars
94 *** Testing fgetcsv() : with two chars as enclosure & delimiter ***
98 Notice: fgetcsv(): delimiter must be a single character in %s on line %d
110 Notice: fgetcsv(): delimiter must be a single character in %s on line %d
122 Notice: fgetcsv(): delimiter must be a single character in %s on line %d
134 Notice: fgetcsv(): delimiter must be a single character in %s on line %d
146 Notice: fgetcsv(): delimiter must be a single character in %s on line %d
[all …]
H A Dbug43522.phpt8 DoTest($fp, 'ZZZ'); // test multi-char delimiter
9 DoTest($fp, "Z"); // test single-char delimiter
/PHP-5.3/ext/standard/tests/streams/
H A Dbug63240.phpt2 Bug #63240: stream_get_line() return contains delimiter string
6 $delimiter = 'MM';
7 $str = str_repeat('.', 8191) . $delimiter . "rest";
10 $line = stream_get_line($fd, 9000, $delimiter);
12 $line = stream_get_line($fd, 9000, $delimiter);
/PHP-5.3/ext/standard/tests/mail/
H A Dezmlm_hash_variation1.phpt2 Test explode() function : usage variations - test values for $delimiter argument
6 /* Prototype : array explode ( string $delimiter , string $string [, int $limit ] )
11 echo "*** Testing explode() function: with unexpected inputs for 'delimiter' argument ***\n";
86 *** Testing explode() function: with unexpected inputs for 'delimiter' argument ***
155 Warning: explode(): Empty delimiter in %s on line %d
166 Warning: explode(): Empty delimiter in %s on line %d
170 Warning: explode(): Empty delimiter in %s on line %d
174 Warning: explode(): Empty delimiter in %s on line %d
187 Warning: explode(): Empty delimiter in %s on line %d
191 Warning: explode(): Empty delimiter in %s on line %d
/PHP-5.3/ext/mbstring/tests/
H A Dmb_stripos_variation2.phpt139 Warning: mb_stripos(): Empty delimiter in %s on line %d
144 Warning: mb_stripos(): Empty delimiter in %s on line %d
152 Warning: mb_stripos(): Empty delimiter in %s on line %d
160 Warning: mb_stripos(): Empty delimiter in %s on line %d
165 Warning: mb_stripos(): Empty delimiter in %s on line %d
170 Warning: mb_stripos(): Empty delimiter in %s on line %d
187 Warning: mb_stripos(): Empty delimiter in %s on line %d
192 Warning: mb_stripos(): Empty delimiter in %s on line %d
H A Dmb_strpos_variation2.phpt138 Warning: mb_strpos(): Empty delimiter in %s on line %d
143 Warning: mb_strpos(): Empty delimiter in %s on line %d
151 Warning: mb_strpos(): Empty delimiter in %s on line %d
159 Warning: mb_strpos(): Empty delimiter in %s on line %d
164 Warning: mb_strpos(): Empty delimiter in %s on line %d
169 Warning: mb_strpos(): Empty delimiter in %s on line %d
186 Warning: mb_strpos(): Empty delimiter in %s on line %d
191 Warning: mb_strpos(): Empty delimiter in %s on line %d
H A Dmb_strstr_variation2.phpt168 Error: 2 - mb_strstr(): Empty delimiter, %s(%d)
172 Error: 2 - mb_strstr(): Empty delimiter, %s(%d)
179 Error: 2 - mb_strstr(): Empty delimiter, %s(%d)
186 Error: 2 - mb_strstr(): Empty delimiter, %s(%d)
190 Error: 2 - mb_strstr(): Empty delimiter, %s(%d)
194 Error: 2 - mb_strstr(): Empty delimiter, %s(%d)
205 Error: 2 - mb_strstr(): Empty delimiter, %s(%d)
209 Error: 2 - mb_strstr(): Empty delimiter, %s(%d)
H A Dmb_stristr_variation2.phpt168 Error: 2 - mb_stristr(): Empty delimiter, %s(%d)
172 Error: 2 - mb_stristr(): Empty delimiter, %s(%d)
179 Error: 2 - mb_stristr(): Empty delimiter, %s(%d)
186 Error: 2 - mb_stristr(): Empty delimiter, %s(%d)
190 Error: 2 - mb_stristr(): Empty delimiter, %s(%d)
194 Error: 2 - mb_stristr(): Empty delimiter, %s(%d)
205 Error: 2 - mb_stristr(): Empty delimiter, %s(%d)
209 Error: 2 - mb_stristr(): Empty delimiter, %s(%d)
/PHP-5.3/ext/spl/internal/
H A Dsplfileobject.inc29 private $delimiter= ',';
73 * @param delimiter character used as field separator
77 function fgetcsv($delimiter = NULL, $enclosure = NULL)
84 $delimiter = $this->delimiter;
95 * Set the delimiter and enclosure character used in fgetcsv
97 * @param delimiter new delimiter, defaults to ','
100 function setCsvControl($delimiter = ';', $enclosure = '"')
102 $this->delimiter = $delimiter;
107 * @return array(delimiter, enclosure) as used in fgetcsv
109 function getCsvControl($delimiter = ',', $enclosure = '"')
[all …]
/PHP-5.3/ext/pcre/tests/
H A Dpreg_split_error1.phpt14 $regex_array = array('abcdef', //Regex without delimiter
15 '/[a-zA-Z]', //Regex without closing delimiter
16 '[a-zA-Z]/', //Regex without opening delimiter
38 Warning: preg_split(): No ending delimiter '/' found in %spreg_split_error1.php on line %d
H A Dpreg_replace_callback_error1.phpt15 '/[a-zA-Z]', //Regex without closing delimiter
16 '[a-zA-Z]/', //Regex without opening delimiter
41 Warning: preg_replace_callback(): No ending delimiter '/' found in %s on line %d
H A Ddelimiters.phpt29 Warning: preg_match(): No ending delimiter '~' found in %sdelimiters.php on line 8
36 Warning: preg_match(): No ending matching delimiter '}' found in %sdelimiters.php on line 11
H A Dpreg_quote_basic.phpt12 print "\$string_after looks like: $string_after, with metacharacters and / (set as delimiter) escap…
20 …ike: \/this \*\-has \\ metacharacters\^ in \$, with metacharacters and / (set as delimiter) escaped

Completed in 46 milliseconds

1234