Home
last modified time | relevance | path

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

12

/PHP-7.1/ext/standard/tests/strings/
H A Djoin_error.phpt2 Test join() function: error conditions
5 /* Prototype : string join( string $glue, array $pieces )
11 echo "*** Testing join() : error conditions ***\n";
14 echo "\n-- Testing join() function with Zero arguments --\n";
15 var_dump( join() );
23 var_dump( join($glue, $pieces, $extra_arg) );
29 var_dump( join($glue));
34 *** Testing join() : error conditions ***
36 -- Testing join() function with Zero arguments --
46 -- Testing join() with less than expected no. of arguments --
[all …]
H A Djoin_variation2.phpt5 /* Prototype : string join( string $glue, array $pieces )
15 echo "*** Testing join() : usage variations ***\n";
92 var_dump( join($glue, $pieces) );
103 *** Testing join() : usage variations ***
108 Warning: join(): Invalid arguments passed in %s on line %d
112 Warning: join(): Invalid arguments passed in %s on line %d
116 Warning: join(): Invalid arguments passed in %s on line %d
120 Warning: join(): Invalid arguments passed in %s on line %d
124 Warning: join(): Invalid arguments passed in %s on line %d
128 Warning: join(): Invalid arguments passed in %s on line %d
[all …]
H A Djoin_variation6.phpt2 Test join() function : usage variations - binary safe
5 /* Prototype : string join( string $glue, array $pieces )
12 * check the working of join() when given binary input given
15 echo "*** Testing join() : usage variationsi - binary safe ***\n";
23 var_dump( join($glues[0], $pieces) );
24 var_dump( join($glues[1], $pieces) );
29 *** Testing join() : usage variationsi - binary safe ***
H A Djoin_basic.phpt2 Test join() function : basic functionality
5 /* Prototype : string join( string $glue, array $pieces )
11 echo "*** Testing join() : basic functionality ***\n";
18 var_dump( join($glue, $pieces) );
23 var_dump( join($glue, $pieces) );
28 var_dump( join($glue, $pieces) );
33 var_dump( join($glue, $pieces) );
38 *** Testing join() : basic functionality ***
H A Djoin_variation5.phpt2 Test join() function : usage variations - sub array as argument
5 /* Prototype : string join( string $glue, array $pieces )
12 * test join() by passing pieces as array containing sub array(s)
19 var_dump( join("TEST", $sub_array) );
22 var_dump( join(array(1, 2, 3, 4), $sub_array) );
25 var_dump( join(2, $sub_array) );
28 var_dump( join(", ", $sub_array[0]) );
29 var_dump( join(", ", $sub_array[1]) );
H A Djoin_variation4.phpt2 Test join() function : usage variations - different values for 'glue' argument
5 /* Prototype : string join( string $glue, array $pieces )
12 * test join() by passing different glue arguments
15 echo "*** Testing join() : usage variations ***\n";
45 /* loop through each element of $glues and call join */
49 var_dump( join($glues[$index], $pieces) );
56 *** Testing join() : usage variations ***
H A Djoin_variation1.phpt2 Test join() function : usage variations - unexpected values for 'glue' argument
5 /* Prototype : string join( string $glue, array $pieces )
12 * testing join() by passing different unexpected value for glue argument
15 echo "*** Testing join() : usage variations ***\n";
86 // loop through each element of the array and check the working of join()
88 echo "\n--- Testing join() by supplying different values for 'glue' argument ---\n";
94 var_dump( join($glue, $pieces) );
102 *** Testing join() : usage variations ***
104 --- Testing join() by supplying different values for 'glue' argument ---
H A Djoin_variation3.phpt2 Test join() function : usage variations - different values for 'pieces' argument
5 /* Prototype : string join( string $glue, array $pieces )
12 * test join() by giving different pieces values
15 echo "*** Testing join() : usage variations ***\n";
47 // loop through each $pieces_arrays element and call join()
51 var_dump( join($glue, $pieces_arrays[$index]) );
58 *** 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-7.1/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-7.1/ext/phar/tests/
H A Dphar_oo_008.phpt47 echo $v->key() . "=>" . join('|',$v->fgetcsv()) . "\n";
55 echo $v->key() . "=>" . join('|',$l) . "\n";
61 echo "$k=>" . join('|',$d) . "\n";
79 echo "$k=>" . join('|',$d) . "\n";
H A Dphar_oo_009.phpt32 echo "$k=>" . join('|', $v) . "\n";
/PHP-7.1/ext/standard/tests/class_object/
H A Dbug71442.phpt11 echo static::NAME, " ".join(',', $args)." \n";
30 echo "C ".join(',', $args)." \n";
/PHP-7.1/ext/pdo_dblib/tests/
H A Dbug_50755.phpt15 cross join information_schema.columns ic2
16 cross join information_schema.columns ic3");
/PHP-7.1/ext/interbase/tests/
H A Dinterbase.inc44 echo join("\t",$r)."\t\n";
54 echo join("\t",$r)."\t\n";
63 echo join("\t",$r)."\t\n";
/PHP-7.1/ext/intl/tests/
H A Dresourcebundle_locales.phpt13 $str_res .= join("\n", ut_resourcebundle_locales(BUNDLE));
H A Dresourcebundle.build21 $filelist = join(" {\"\"}\n", $list);
/PHP-7.1/ext/standard/tests/general_functions/
H A D004.phpt8 echo join(",",$a)."\n";
H A Dcallbacks_001.phpt22 echo join('|', $cb) . "\n";
65 echo join('|', $cb) . "\n";
/PHP-7.1/ext/phar/
H A Dbuild_precommand.php49 echo join('', $f);
/PHP-7.1/ext/spl/tests/
H A Dbug75717.phpt11 return join(NULL, $flat);
/PHP-7.1/ext/spl/examples/
H A Dclass_tree.php98 $result .= ' (' . join(', ', $interfaces) . ')';
/PHP-7.1/ext/sockets/
H A Dmulticast.c54 …et *sock, int level, struct sockaddr *group, socklen_t group_len, unsigned int if_index, int join);
458 int join) in _php_mcast_join_leave() argument
468 join ? MCAST_JOIN_GROUP : MCAST_LEAVE_GROUP, (char*)&greq, in _php_mcast_join_leave()
487 join ? IP_ADD_MEMBERSHIP : IP_DROP_MEMBERSHIP, (char*)&mreq, in _php_mcast_join_leave()
500 join ? IPV6_JOIN_GROUP : IPV6_LEAVE_GROUP, (char*)&mreq, in _php_mcast_join_leave()
507 join ? "MCAST_JOIN_GROUP" : "MCAST_LEAVE_GROUP"); in _php_mcast_join_leave()
/PHP-7.1/ext/standard/tests/file/
H A Duserstreams_007.phpt12 echo join(",", $var);

Completed in 30 milliseconds

12