Home
last modified time | relevance | path

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

1234

/php-src/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 Doss_fuzz_57392.phpt2 oss-fuzz #57392: Buffer-overflow in php_fgetcsv() with \0 delimiter and enclosure
H A Dexplode1.phpt24 formed by splitting it on boundaries formed by the string $delimiter.
27 foreach($delimiters as $delimiter) {
31 var_dump( explode($delimiter, $string, -1) );
36 var_dump( explode($delimiter, $string, 0) );
41 var_dump( explode($delimiter, $string, 1) );
46 var_dump( explode($delimiter, $string, 2) );
/php-src/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-src/ext/standard/tests/file/
H A Dfgetcsv_error_conditions.phpt10 $delimiter = ',';
20 var_dump( fgetcsv($file_handle, -10, $delimiter, escape: "\\") );
25 var_dump( fgetcsv($file_handle, -10, $delimiter, $enclosure, escape: "\\") );
30 echo 'fgetcsv() with delimiter as empty string' . \PHP_EOL;
39 var_dump( fgetcsv($file_handle, $length, $delimiter, '', escape: "\\") );
44 echo 'fgetcsv() with delimiter & enclosure as empty string' . \PHP_EOL;
56 fgetcsv() with delimiter as empty string
60 fgetcsv() with delimiter & enclosure as empty string
H A Dbug43522.phpt8 DoTest($fp, 'ZZZ'); // test multi-char delimiter
9 DoTest($fp, "Z"); // test single-char delimiter
H A Dbug40501.csv1 "this element contains the delimiter, and ends with an odd number of
/php-src/ext/spl/tests/SplFileObject/
H A DSplFileObject_fputcsv_variation13.phpt2 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";
29 *** Testing fputcsv() : with default enclosure & delimiter of two chars ***
H A DSplFileObject_fputcsv_variation14.phpt2 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 …
34 *** Testing fputcsv() : with enclosure & delimiter of two chars and file opened in read mode ***
H A Dbug64782.phpt17 ["delimiter":"SplFileObject":private]=>
/php-src/ext/pcre/tests/
H A Dpreg_replace_error1.phpt12 'abcdef', //Regex without delimiter
13 '/[a-zA-Z]', //Regex without closing delimiter
14 '[a-zA-Z]/', //Regex without opening delimiter
40 Warning: preg_replace(): No ending delimiter '/' found in %spreg_replace_error1.php on line %d
H A Dpreg_grep_error1.phpt12 'abcdef', //Regex without delimiter
13 '/[a-zA-Z]', //Regex without closing delimiter
14 '[a-zA-Z]/', //Regex without opening delimiter
43 Warning: preg_grep(): No ending delimiter '/' found in %spreg_grep_error1.php on line %d
H A Dpreg_split_error1.phpt12 'abcdef', //Regex without delimiter
13 '/[a-zA-Z]', //Regex without closing delimiter
14 '[a-zA-Z]/', //Regex without opening delimiter
43 Warning: preg_split(): No ending delimiter '/' found in %spreg_split_error1.php on line %d
H A Dpreg_match_error1.phpt10 'abcdef', //Regex without delimiter
11 '/[a-zA-Z]', //Regex without closing delimiter
12 '[a-zA-Z]/', //Regex without opening delimiter
42 Warning: preg_match(): No ending delimiter '/' found in %spreg_match_error1.php on line %d
H A Dpreg_match_all_error1.phpt12 'abcdef', //Regex without delimiter
13 '/[a-zA-Z]', //Regex without closing delimiter
14 '[a-zA-Z]/', //Regex without opening delimiter
46 Warning: preg_match_all(): No ending delimiter '/' found in %spreg_match_all_error1.php on line %d
H A Dpreg_replace_callback_error1.phpt13 '/[a-zA-Z]', //Regex without closing delimiter
14 '[a-zA-Z]/', //Regex without opening delimiter
49 Warning: preg_replace_callback(): No ending delimiter '/' found in %s on line %d
H A Dpreg_quote_basic.phpt11 print "\$string_after looks like: $string_after, with metacharacters and / (set as delimiter) escap…
18 …ike: \/this \*\-has \\ metacharacters\^ in \$, with metacharacters and / (set as delimiter) escaped
H A Ddelimiters.phpt30 Warning: preg_match(): No ending delimiter '~' found in %sdelimiters.php on line 8
37 Warning: preg_match(): No ending matching delimiter '}' found in %sdelimiters.php on line 11
H A Doss-fuzz-65021.phpt9 Warning: preg_match(): No ending delimiter '>' found in %s on line %d
H A Derrors03.phpt11 Warning: preg_match(): No ending delimiter '/' found in %s on line %d
/php-src/sapi/phpdbg/tests/
H A Ddelimiter.phpt2 Test # delimiter parsing and execution
/php-src/ext/spl/tests/
H A DSplTempFileObject_constructor_basic.phpt15 ["delimiter":"SplFileObject":private]=>
H A DSplTempFileObject_constructor_memory_lt1_variation.phpt15 ["delimiter":"SplFileObject":private]=>
H A DSplTempFileObject_constructor_maxmemory_basic.phpt15 ["delimiter":"SplFileObject":private]=>
/php-src/ext/standard/
H A Dfile.h52 PHPAPI HashTable *php_fgetcsv(php_stream *stream, char delimiter, char enclosure, int escape_char, …
53 PHPAPI ssize_t php_fputcsv(php_stream *stream, zval *fields, char delimiter, char enclosure, int es…

Completed in 18 milliseconds

1234