Home
last modified time | relevance | path

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

/PHP-7.2/ext/standard/tests/strings/
H A Djoin_basic.phpt5 /* Prototype : string join( string $glue, array $pieces )
14 $glue = ',';
18 var_dump( join($glue, $pieces) );
21 $glue = ", "; // multiple car as glue
23 var_dump( join($glue, $pieces) );
27 $glue = ':';
28 var_dump( join($glue, $pieces) );
32 $glue = '/';
33 var_dump( join($glue, $pieces) );
H A Dimplode1.phpt5 /* Prototype: string implode ( string $glue, array $pieces );
51 with the $glue string between each element */
53 foreach($glues as $glue) {
55 var_dump( implode($glue, $pieces) );
103 /* only glue */
104 var_dump( implode("glue") );
107 var_dump( implode("glue",1234) );
110 var_dump( implode("glue", NULL) );
115 /* integer as glue */
118 /* NULL as glue */
[all …]
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
87 // when $glue argument is supplied with different values
88 echo "\n--- Testing join() by supplying different values for 'glue' argument ---\n";
92 $glue = $values [$index];
94 var_dump( join($glue, $pieces) );
104 --- Testing join() by supplying different values for 'glue' argument ---
H A Djoin_error.phpt5 /* Prototype : string join( string $glue, array $pieces )
19 $glue = 'string_val';
23 var_dump( join($glue, $pieces, $extra_arg) );
27 $glue = 'string_val';
29 var_dump( join($glue));
H A Djoin_variation5.phpt5 /* Prototype : string join( string $glue, array $pieces )
21 // glue as array & pieces as array containing sub array
24 // numeric value as glue, pieces as array containg sub array
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
H A Djoin_variation3.phpt5 /* Prototype : string join( string $glue, array $pieces )
44 // a multichar glue value
45 $glue = "], [";
51 var_dump( join($glue, $pieces_arrays[$index]) );
H A Djoin_variation6.phpt5 /* Prototype : string join( string $glue, array $pieces )
H A Djoin_variation2.phpt5 /* Prototype : string join( string $glue, array $pieces )
17 $glue = '::';
92 var_dump( join($glue, $pieces) );
/PHP-7.2/ext/standard/
H A Dstring.c1209 PHPAPI void php_implode(const zend_string *glue, zval *pieces, zval *return_value) in php_implode() argument
1251 str = zend_string_safe_alloc(numelems - 1, ZSTR_LEN(glue), len, 0); in php_implode()
1268 cptr -= ZSTR_LEN(glue); in php_implode()
1269 memcpy(cptr, ZSTR_VAL(glue), ZSTR_LEN(glue)); in php_implode()
1292 zend_string *glue; in PHP_FUNCTION() local
1306 glue = ZSTR_EMPTY_ALLOC(); in PHP_FUNCTION()
1310 glue = zval_get_string(arg2); in PHP_FUNCTION()
1313 glue = zval_get_string(arg1); in PHP_FUNCTION()
1321 php_implode(glue, pieces, return_value); in PHP_FUNCTION()
1322 zend_string_release(glue); in PHP_FUNCTION()
H A Dbasic_functions.c2196 ZEND_ARG_INFO(0, glue)
/PHP-7.2/
H A DINSTALL1631 PHP is glue. It is the glue used to build cool web applications
1637 working 3rd-party libraries to glue together. When any of these
/PHP-7.2/win32/
H A Dinstall.txt1457 PHP is glue. It is the glue used to build cool web applications by
1462 OS, a working web server and working 3rd-party libraries to glue

Completed in 61 milliseconds