/php-src/ext/standard/tests/strings/ |
H A D | implode_basic.phpt | 2 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 D | implode_variation.phpt | 2 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 D | implode_error.phpt | 2 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 D | bug39350.phpt | 2 Bug #39350 (implode/join() crash on empty input strings) 6 implode('', array(null)); 7 implode('', array(false)); 8 implode('', array(""));
|
H A D | bug72100.phpt | 2 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 D | bug20169.phpt | 2 Bug #20169 (implode() clobbers first argument) 9 implode($delimiter, array("foo", "bar"));
|
H A D | bug22224.phpt | 2 Bug #22224 (implode changes object references in array) 19 var_dump(implode(",",$arr));
|
H A D | bug78840.phpt | 6 @implode($glue, $GLOBALS);
|
H A D | join_variation5.phpt | 9 echo "*** Testing implode() : usage variations - sub arrays ***\n"; 32 *** Testing implode() : usage variations - sub arrays ***
|
/php-src/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_begintransaction.phpt | 24 $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 D | bug41125.phpt | 19 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 D | pdo_mysql_local_infile_directory_denied.phpt | 22 $db->errorCode(), implode(' ', $db->errorInfo())); 27 $offset, $sql, $db->errorCode(), implode(' ', $db->errorInfo())); 61 $db->errorCode(), implode(' ', $db->errorInfo()));
|
H A D | pdo_mysql_fetch_both.phpt | 41 $e->getMessage(), $db->errroCode(), implode(' ', $db->errorInfo())); 49 $e->getMessage(), $db->errorCode(), implode(' ', $db->errorInfo()));
|
H A D | pdo_mysql_local_infile_directory_allowed.phpt | 22 $db->errorCode(), implode(' ', $db->errorInfo())); 27 $offset, $sql, $db->errorCode(), implode(' ', $db->errorInfo())); 71 $db->errorCode(), implode(' ', $db->errorInfo()));
|
H A D | pdo_mysql_local_infile_overrides_local_infile_directory.phpt | 22 $db->errorCode(), implode(' ', $db->errorInfo())); 27 $offset, $sql, $db->errorCode(), implode(' ', $db->errorInfo())); 71 $db->errorCode(), implode(' ', $db->errorInfo()));
|
H A D | pdo_mysql_exec_ddl.phpt | 22 $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 D | strings_marked_as_utf8.phpt | 125 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 D | arrayObject_getIteratorClass_basic1.phpt | 9 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 D | mb_str_split_other.phpt | 16 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 D | mb_detect_order.phpt | 17 print implode(', ', mb_detect_order()) . "\n"; 23 print implode(', ', mb_detect_order()) . "\n"; 33 print implode(', ', mb_detect_order()) . "\n";
|
H A D | mb_str_split_error_conditions.phpt | 32 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 D | bug41861.phpt | 18 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.phpt | 7 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 D | generate_name_perfect_hash_table.php | 20 $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 D | create-test.php | 57 $cmdargv = implode(" ", array_map("escapeshellarg", array_slice($real_argv, 1))); 128 $testdata .= "\n--INI--\n".implode("\n", $ini);
|