Home
last modified time | relevance | path

Searched refs:join (Results 1 – 25 of 54) sorted by relevance

123

/PHP-8.4/ext/standard/tests/strings/
H A Djoin_error1.phpt6 * test join() by passing different unexpected value for pieces argument
9 echo "*** Testing join() : usage variations ***\n";
86 var_dump(join($glue, $pieces));
100 *** Testing join() : usage variations ***
104 join(): Argument #2 ($array) must be of type ?array, int given
106 join(): Argument #2 ($array) must be of type ?array, int given
108 join(): Argument #2 ($array) must be of type ?array, int given
110 join(): Argument #2 ($array) must be of type ?array, int given
122 join(): Argument #2 ($array) must be of type ?array, true given
126 join(): Argument #2 ($array) must be of type ?array, true given
[all …]
H A Djoin_error.phpt2 Test join() function: error conditions
5 echo "*** Testing join() : error conditions ***\n";
8 echo "\n-- Testing join() with less than expected no. of arguments --\n";
12 var_dump(join($glue));
20 *** Testing join() : error conditions ***
22 -- Testing join() with less than expected no. of arguments --
23 join(): If argument #1 ($separator) is of type string, argument #2 ($array) must be of type array, …
H A Djoin_variation6.phpt2 Test join() function : usage variations - binary safe
6 * check the working of join() when given binary input given
9 echo "*** Testing join() : usage variationsi - binary safe ***\n";
17 var_dump( join($glues[0], $pieces) );
18 var_dump( join($glues[1], $pieces) );
23 *** Testing join() : usage variationsi - binary safe ***
H A Djoin_variation1.phpt2 Test join() function : usage variations - unexpected values for 'glue' argument
6 * testing join() by passing different unexpected value for glue argument
9 echo "*** Testing join() : usage variations ***\n";
66 // loop through each element of the array and check the working of join()
75 var_dump(join($glue, $pieces));
86 *** Testing join() : usage variations ***
108 join(): Argument #1 ($separator) must be of type string, array given
110 join(): Argument #1 ($separator) must be of type string, array given
112 join(): Argument #1 ($separator) must be of type string, array given
114 join(): Argument #1 ($separator) must be of type string, array given
[all …]
H A Djoin_basic.phpt2 Test join() function : basic functionality
5 echo "*** Testing join() : basic functionality ***\n";
12 var_dump( join($glue, $pieces) );
17 var_dump( join($glue, $pieces) );
22 var_dump( join($glue, $pieces) );
27 var_dump( join($glue, $pieces) );
32 *** Testing join() : basic functionality ***
H A Djoin_variation5.phpt2 Test join() function : usage variations - sub array as argument
6 * test join() by passing pieces as array containing sub array(s)
13 var_dump(join("TEST", $sub_array));
17 var_dump(join(array(1, 2, 3, 4), $sub_array));
23 var_dump(join(2, $sub_array));
26 var_dump(join(", ", $sub_array[0]));
27 var_dump(join(", ", $sub_array[1]));
38 join(): Argument #1 ($separator) must be of type string, array given
H A Djoin_variation4.phpt2 Test join() function : usage variations - different values for 'glue' argument
6 * test join() by passing different glue arguments
9 echo "*** Testing join() : usage variations ***\n";
37 /* loop through each element of $glues and call join */
42 var_dump(join($glues[$index], $pieces));
52 *** Testing join() : usage variations ***
60 join(): Argument #1 ($separator) must be of type string, array given
H A Djoin_variation3.phpt2 Test join() function : usage variations - different values for 'pieces' argument
6 * test join() by giving different pieces values
9 echo "*** Testing join() : usage variations ***\n";
41 // loop through each $pieces_arrays element and call join()
45 var_dump( join($glue, $pieces_arrays[$index]) );
52 *** Testing join() : usage variations ***
H A Dbug39350.phpt2 Bug #39350 (implode/join() crash on empty input strings)
H A D004.phpt17 $s = join('', $p);
/PHP-8.4/tests/basic/
H A Dprecision.phpt16 echo join(' ', $v).PHP_EOL;
27 echo join(' ', $v).PHP_EOL;
37 echo join(' ', $v).PHP_EOL;
47 echo join(' ', $v).PHP_EOL;
57 echo join(' ', $v).PHP_EOL;
67 echo join(' ', $v).PHP_EOL;
77 echo join(' ', $v).PHP_EOL;
/PHP-8.4/sapi/cli/tests/
H A Dphp_cli_server_pdeathsig.phpt25 return split_words(shell_exec('ps -o pid= -p ' . join(',', $pids)));
47 …n('Workers were not properly terminated. Before: ' . join(', ', $workersBefore) . ', after: ' . jo…
/PHP-8.4/ext/standard/tests/class_object/
H A Dbug71442.phpt11 echo static::NAME, " ".join(',', $args)." \n";
30 echo "C ".join(',', $args)." \n";
/PHP-8.4/ext/pdo_dblib/tests/
H A Dbug_50755.phpt22 cross join information_schema.columns ic2
23 cross join information_schema.columns ic3");
/PHP-8.4/ext/standard/tests/
H A Dforward_static_call_array.phpt10 echo "C " . join(',', $args) . " \n";
19 echo static::NAME, " " . join(',', $args) . " \n";
/PHP-8.4/ext/phar/tests/
H A Dphar_oo_008.phpt47 echo $v->key() . "=>" . join('|', $v->fgetcsv(escape: '')) . "\n";
55 echo $v->key() . "=>" . join('|', $l) . "\n";
61 echo "$k=>" . join('|', $d) . "\n";
H A Dphar_oo_009.phpt33 echo "$k=>" . join('|', $v) . "\n";
/PHP-8.4/ext/intl/tests/
H A Dresourcebundle_locales.phpt13 $str_res .= join("\n", ut_resourcebundle_locales(BUNDLE));
/PHP-8.4/ext/standard/tests/file/
H A Dfgetcsv_tab_delimiter.phpt9 echo join(",",$a)."\n";
H A Dfputcsv_variation18.phpt32 $res[] = join(',',$l);
/PHP-8.4/ext/opcache/tests/opt/
H A Dblock_pass_001.phpt17 ->join(...$args);
/PHP-8.4/Zend/tests/property_hooks/
H A Dexplicit_set_value_parameter_type.phpt9 $this->prop = is_array($prop) ? join(', ', $prop) : $prop;
/PHP-8.4/ext/phar/
H A Dbuild_precommand.php49 echo join('', $f);
/PHP-8.4/ext/spl/tests/
H A Dbug75717.phpt11 return join('', $flat);
/PHP-8.4/Zend/tests/exit/
H A Dexit_statements.phpt29 'Output is:', PHP_EOL, join($output), PHP_EOL;

Completed in 41 milliseconds

123