Home
last modified time | relevance | path

Searched refs:implode (Results 1 – 25 of 166) sorted by relevance

1234567

/php-src/ext/standard/tests/strings/
H A Dimplode_basic.phpt2 implode() function
5 echo implode(array())."\n";
6 echo implode('nothing', array())."\n";
7 echo implode(array('foo', 'bar', 'baz'))."\n";
8 echo implode(':', array('foo', 'bar', 'baz'))."\n";
9 echo implode(':', array('foo', array('bar', 'baz'), 'burp'))."\n";
H A Dimplode_variation.phpt2 Test implode() function
17 var_dump(implode(', ', $array));
51 var_dump(implode($glue, $pieces));
61 implode("");
69 var_dump(implode("TEST", $sub_array));
76 var_dump(implode(2, $sub_array));
94 var_dump(implode(",", $arr));
108 var_dump(implode("::", $resources));
200 *** Testing implode() on empty string ***
203 *** Testing implode() on sub-arrays ***
[all …]
H A Dimplode_error.phpt2 Test implode() function: error conditions
7 var_dump(implode("glue"));
14 var_dump(implode("glue", NULL));
21 var_dump(implode(12, "pieces"));
27 implode(): If argument #1 ($separator) is of type string, argument #2 ($array) must be of type arra…
28 implode(): If argument #1 ($separator) is of type string, argument #2 ($array) must be of type arra…
29 implode(): Argument #2 ($array) must be of type ?array, string given
H A Dbug39350.phpt2 Bug #39350 (implode/join() crash on empty input strings)
6 implode('', array(null));
7 implode('', array(false));
8 implode('', array(""));
H A Dbug72100.phpt2 Test implode() function, problems with big numbers
9 var_dump( implode(" ", ["hello long", 999999999999999999, PHP_INT_MAX]));
10 var_dump( implode(" ", ["hello negative long", -999999999999999999, PHP_INT_MIN] ) );
11 var_dump( implode(" ", ["hello small long", -101, -100, -99, -90, -11, -10, -9, -1, 0, 1, 2, 9, 10,…
H A Dbug20169.phpt2 Bug #20169 (implode() clobbers first argument)
9 implode($delimiter, array("foo", "bar"));
H A Dbug22224.phpt2 Bug #22224 (implode changes object references in array)
19 var_dump(implode(",",$arr));
H A Dbug78840.phpt6 @implode($glue, $GLOBALS);
H A Djoin_variation5.phpt9 echo "*** Testing implode() : usage variations - sub arrays ***\n";
32 *** Testing implode() : usage variations - sub arrays ***
/php-src/ext/pdo_mysql/tests/
H A Dpdo_mysql_begintransaction.phpt24 $db->errorCode(), implode(' ', $db->errorInfo()));
39 printf("[005] [%s] %s\n", $db->errorCode(), implode(' ', $db->errorInfo()));
45 printf("[006] [%s] %s\n", $db->errorCode(), implode(' ', $db->errorInfo()));
51 printf("[008] [%s] %s\n", $db->errorCode(), implode(' ', $db->errorInfo()));
57 printf("[010] [%s] %s\n", $db->errorCode(), implode(' ', $db->errorInfo()));
62 printf("[011] [%s] %s\n", $db->errorCode(), implode(' ', $db->errorInfo()));
67 printf("[012] [%s] %s\n", $db->errorCode(), implode(' ', $db->errorInfo()));
140 $db->errorCode(), implode(' ', $db->errorInfo()));
156 $db->errorCode(), implode(' ', $db->errorInfo()));
169 $db->errorCode(), implode(' ', $db->errorInfo()));
[all …]
H A Dbug41125.phpt19 print implode(' - ', (($r = @$stmt->fetch(PDO::FETCH_NUM)) ? $r : array())) ."\n";
20 print implode(' - ', $stmt->errorinfo()) ."\n";
35 print implode(' - ', (($r = @$stmt->fetch(PDO::FETCH_NUM)) ? $r : array())) ."\n";
36 print implode(' - ', $stmt->errorinfo()) ."\n";
48 print implode(' - ', (($r = @$stmt->fetch(PDO::FETCH_NUM)) ? $r : array())) ."\n";
49 print implode(' - ', $stmt->errorinfo()) ."\n";
78 print implode(' - ', (($r = @$stmt->fetch(PDO::FETCH_NUM)) ? $r : array())) ."\n";
79 print implode(' - ', $stmt->errorinfo()) ."\n";
H A Dpdo_mysql_local_infile_directory_denied.phpt22 $db->errorCode(), implode(' ', $db->errorInfo()));
27 $offset, $sql, $db->errorCode(), implode(' ', $db->errorInfo()));
61 $db->errorCode(), implode(' ', $db->errorInfo()));
H A Dpdo_mysql_fetch_both.phpt41 $e->getMessage(), $db->errroCode(), implode(' ', $db->errorInfo()));
49 $e->getMessage(), $db->errorCode(), implode(' ', $db->errorInfo()));
H A Dpdo_mysql_local_infile_directory_allowed.phpt22 $db->errorCode(), implode(' ', $db->errorInfo()));
27 $offset, $sql, $db->errorCode(), implode(' ', $db->errorInfo()));
71 $db->errorCode(), implode(' ', $db->errorInfo()));
H A Dpdo_mysql_local_infile_overrides_local_infile_directory.phpt22 $db->errorCode(), implode(' ', $db->errorInfo()));
27 $offset, $sql, $db->errorCode(), implode(' ', $db->errorInfo()));
71 $db->errorCode(), implode(' ', $db->errorInfo()));
H A Dpdo_mysql_exec_ddl.phpt22 $db->errorCode(), implode(' ', $db->errorInfo()));
28 $offset, $sql, $db->errorCode(), implode(' ', $db->errorInfo()));
73 $db->errorCode(), implode(' ', $db->errorInfo()));
/php-src/ext/zend_test/tests/
H A Dstrings_marked_as_utf8.phpt125 echo "implode:\n";
127 $string_concat = implode('', $arr);
129 $string_concat = implode('|', $arr);
131 $string_concat = implode('', ['c', ...$arr]);
139 $string_concat = implode("\xff", $arr);
141 $string_concat = implode('', []);
143 $string_concat = implode("\xff", []);
145 $string_concat = implode('', ['a']);
147 $string_concat = implode("\xff", ['a']);
149 $string_concat = implode('', [1, 1.0, 'a']);
[all …]
/php-src/ext/spl/tests/
H A DarrayObject_getIteratorClass_basic1.phpt9 echo " In " . __METHOD__ . "(" . implode(',', $args) . ")\n";
14 echo " In " . __METHOD__ . "(" . implode(',', $args) . ")\n";
20 echo " In " . __METHOD__ . "(" . implode(',', $args) . ")\n";
26 echo " In " . __METHOD__ . "(" . implode(',', $args) . ")\n";
32 echo " In " . __METHOD__ . "(" . implode(',', $args) . ")\n";
38 echo " In " . __METHOD__ . "(" . implode(',', $args) . ")\n";
/php-src/ext/mbstring/tests/
H A Dmb_str_split_other.phpt16 echo "[", implode(', ', array_map('bin2hex', $array)), "]\n";
17 $converted = mb_convert_encoding(implode($array), 'UTF-8', 'HZ');
29 echo "[", implode(', ', array_map('bin2hex', $array)), "]\n";
30 $converted = mb_convert_encoding(implode($array), 'UTF-8', 'BIG-5');
42 echo "[", implode(', ', array_map('bin2hex', $array)), "]\n";
43 $converted = mb_convert_encoding(implode($array), 'UTF-8', 'ISO-8859-1');
55 echo "[", implode(', ', array_map('bin2hex', $array)), "]\n";
63 echo "[", implode(', ', array_map('bin2hex', $array)), "]\n";
H A Dmb_detect_order.phpt17 print implode(', ', mb_detect_order()) . "\n";
23 print implode(', ', mb_detect_order()) . "\n";
33 print implode(', ', mb_detect_order()) . "\n";
H A Dmb_str_split_error_conditions.phpt32 echo "[", implode(', ', array_map('bin2hex', $array)), "]\n";
39 echo "[", implode(', ', array_map('bin2hex', $array)), "]\n";
47 echo "[", implode(', ', array_map('bin2hex', $array)), "]\n";
/php-src/ext/simplexml/tests/
H A Dbug41861.phpt18 echo "root(recursive): '$name' -- namespaces: ", implode(', ', $namespaces), "\n";
20 echo "root(non-recursive): '$name' -- namespaces: ", implode(', ', $namespaces), "\n";
29 echo "children($ns): '$name' -- namespaces: ", implode(', ', $namespaces), "\n";
/php-src/tests/classes/
H A D__call_004.phpt7 echo "In " . __METHOD__ . "($strMethod, array(" . implode(',',$arrArgs) . "))\n";
14 echo "In " . __METHOD__ . "($strMethod, array(" . implode(',',$arrArgs) . "))\n";
/php-src/ext/mbstring/libmbfl/mbfl/
H A Dgenerate_name_perfect_hash_table.php20 $pattern = '/const mbfl_encoding\s+(' . implode('|', $struct_names) . ')\s* = {([^}]*)}/';
85 file_put_contents(__DIR__ . '/encodings.txt', implode("\n", $ordered_name_list));
/php-src/sapi/phpdbg/
H A Dcreate-test.php57 $cmdargv = implode(" ", array_map("escapeshellarg", array_slice($real_argv, 1)));
128 $testdata .= "\n--INI--\n".implode("\n", $ini);

Completed in 32 milliseconds

1234567