Home
last modified time | relevance | path

Searched refs:glue (Results 1 – 11 of 11) sorted by relevance

/PHP-8.2/ext/standard/tests/strings/
H A Djoin_basic.phpt8 $glue = ',';
12 var_dump( join($glue, $pieces) );
15 $glue = ", "; // multiple car as glue
17 var_dump( join($glue, $pieces) );
21 $glue = ':';
22 var_dump( join($glue, $pieces) );
26 $glue = '/';
27 var_dump( join($glue, $pieces) );
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
67 // when $glue argument is supplied with different values
68 echo "\n--- Testing join() by supplying different values for 'glue' argument ---\n";
72 $glue = $values [$index];
75 var_dump(join($glue, $pieces));
88 --- Testing join() by supplying different values for 'glue' argument ---
H A Dbug78840.phpt5 $glue = '';
6 @implode($glue, $GLOBALS);
H A Dimplode1.phpt20 echo "\n*** Testing implode() with variations of glue ***\n";
45 with the $glue string between each element */
47 foreach($glues as $glue) {
50 var_dump(implode($glue, $pieces));
111 /* only glue */
113 var_dump( implode("glue") );
120 var_dump( implode("glue",1234) );
127 var_dump( implode("glue", NULL) );
139 /* integer as glue */
146 /* NULL as glue */
[all …]
H A Djoin_error.phpt9 $glue = 'string_val';
12 var_dump(join($glue));
H A Djoin_variation4.phpt2 Test join() function : usage variations - different values for 'glue' argument
6 * test join() by passing different glue arguments
H A Djoin_variation5.phpt15 // glue as array & pieces as array containing sub array
22 // numeric value as glue, pieces as array containing sub array
H A Djoin_variation3.phpt38 // a multichar glue value
39 $glue = "], [";
45 var_dump( join($glue, $pieces_arrays[$index]) );
H A Djoin_variation2.phpt11 $glue = '::';
87 var_dump( join($glue, $pieces) );
/PHP-8.2/ext/mbstring/tests/
H A Dmb_convert_kana.phpt40 echo "Using 'glue' mode:\n";
48 echo "Not using 'glue' mode:\n";
166 Using 'glue' mode:
174 Not using 'glue' mode:
/PHP-8.2/ext/standard/
H A Dstring.c1103 PHPAPI void php_implode(const zend_string *glue, HashTable *pieces, zval *return_value) in php_implode() argument
1157 str = zend_string_safe_alloc(numelems - 1, ZSTR_LEN(glue), len, 0); in php_implode()
1180 cptr -= ZSTR_LEN(glue); in php_implode()
1181 memcpy(cptr, ZSTR_VAL(glue), ZSTR_LEN(glue)); in php_implode()

Completed in 24 milliseconds