Home
last modified time | relevance | path

Searched refs:str (Results 176 – 200 of 769) sorted by relevance

12345678910>>...31

/PHP-7.4/ext/standard/
H A Dsoundex.c30 char *str; in PHP_FUNCTION() local
63 Z_PARAM_STRING(str, str_len) in PHP_FUNCTION()
77 code = toupper((int)(unsigned char)str[i]); in PHP_FUNCTION()
H A Dphp_string.h120 PHPAPI char *php_strtr(char *str, size_t len, const char *str_from, const char *str_to, size_t trle…
121 PHPAPI zend_string *php_addslashes(zend_string *str);
122 PHPAPI void php_stripslashes(zend_string *str);
123 PHPAPI zend_string *php_addcslashes_str(const char *str, size_t len, char *what, size_t what_len);
124 PHPAPI zend_string *php_addcslashes(zend_string *str, char *what, size_t what_len);
125 PHPAPI void php_stripcslashes(zend_string *str);
127 PHPAPI size_t php_dirname(char *str, size_t len);
130 size_t needle_len, const char *str, size_t str_len);
131 PHPAPI zend_string *php_trim(zend_string *str, char *what, size_t what_len, int mode);
135 PHPAPI void php_explode(const zend_string *delim, zend_string *str, zval *return_value, zend_long l…
/PHP-7.4/ext/mbstring/tests/
H A Dbug69151.phpt10 $str = "\x80";
12 false === mb_eregi('.', $str, $matches),
14 NULL === mb_ereg_replace('.', "\\0", $str),
H A Dmb_ereg_replace_callback.phpt10 $str = 'abc 123 #",; $foo';
14 }, $str), "\n";
18 }, $str), "\n";
H A Dmb_ereg.phpt16 function test_ereg( $test_enc, $pat, $str, $in_enc = 'EUC-JP' ) {
19 $str = mb_convert_encoding( $str, $test_enc, $in_enc );
20 …printf( "(%d)%s\n", mb_ereg( $pat, $str, $reg ), ( is_array( $reg )? bin2hex(mb_convert_encoding( …
/PHP-7.4/Zend/tests/
H A Dlist_destructuring_to_special_variables.phpt23 $str = 'ab';
24 list($str[0], $str[1]) = ['x', 'y'];
25 var_dump($str);
H A Dcall_user_func_001.phpt7 function foobar($str) {
8 var_dump($str);
12 protected function prot($str) {
17 private function priv($str) {
/PHP-7.4/ext/standard/tests/strings/
H A Dchunk_split_basic.phpt5 /* Prototype : string chunk_split(string $str [, int $chunklen [, string $ending]])
20 $str = 'Testing';
26 var_dump( chunk_split($str, $chunklen, $ending) );
31 var_dump( chunk_split($str, $chunklen) );
36 var_dump( chunk_split($str) );
H A Dsscanf_basic8.phpt6 /* Prototype : mixed sscanf ( string $str , string $format [, mixed &$... ] )
13 $str = "129 12F 123B -123B 01ABC 1G";
19 list($arg1, $arg2, $arg3, $arg4, $arg5, $arg6) = sscanf($str, $format1);
21 list($arg1, $arg2, $arg3, $arg4, $arg5, $arg6) = sscanf($str, $format2);
26 $res = sscanf($str, $format1, $arg1, $arg2, $arg3, $arg4, $arg5, $arg6);
28 $res = sscanf($str, $format2, $arg1, $arg2, $arg3, $arg4, $arg5, $arg6);
H A Dstr_split_variation4.phpt2 Test str_split() function : usage variations - different single quoted strings for 'str' argument
5 /* Prototype : array str_split(string $str [, int $split_length])
14 * passing different single quoted strings as 'str' argument to str_split()
18 echo "*** Testing str_split() : single quoted strings for 'str' ***\n";
23 // different values for 'str'
39 //loop through each element of $values for 'str' argument
47 *** Testing str_split() : single quoted strings for 'str' ***
68 string(5) "e str"
H A Dstrtr_variation6.phpt5 /* Prototype : string strtr(string $str, string $from[, string $to]);
6 string strtr(string $str, array $replace_pairs);
7 * Description: Translates characters in str using given translation tables
12 * and expected type for 'str' & 'to' arguments
31 //defining 'str' argument
32 $str = "012atm";
83 var_dump( strtr($str, $from, $to) );
H A Dnl2br_variation1.phpt2 Test nl2br() function : usage variations - double quoted strings for 'str' argument
5 /* Prototype : string nl2br(string $str);
11 * combinations of new line chars to 'str' argument
41 foreach( $strings as $str ){
43 var_dump(nl2br($str) );
H A Dbug78346.phpt5 $str = '<?= \'<?= 1 ?>\' ?>2';
6 var_dump(strip_tags($str));
H A Dchunk_split_variation7.phpt2 Test chunk_split() function : usage variations - different double quoted values for 'str' argument
5 /* Prototype : string chunk_split(string $str [, int $chunklen [, string $ending]])
12 * Passing different double quoted strings for 'str' argument to chunk_split()
16 echo "*** Testing chunk_split() : with different double quoted values for 'str' argument ***\n";
22 // different values for 'str'
38 // loop through each element of the array for 'str'
47 *** Testing chunk_split() : with different double quoted values for 'str' argument ***
H A Dstr_split_variation3.phpt2 Test str_split() function : usage variations - different double quoted strings for 'str' argument
5 /* Prototype : array str_split(string $str [, int $split_length])
14 * passing different double quoted strings as 'str' argument to str_split()
18 echo "*** Testing str_split() : double quoted strings for 'str' ***\n";
23 // different values for 'str'
40 //loop through each element of $values for 'str' argument
48 *** Testing str_split() : double quoted strings for 'str' ***
H A Dstr_split_variation7_64bit.phpt2 …plit() function : usage variations - different integer values for 'split_length' with heredoc 'str'
9 /* Prototype : array str_split(string $str [, int $split_length])
18 * passing different integer values for 'split_length' and heredoc string as 'str' argument to str_s…
21 echo "*** Testing str_split() : different intger values for 'split_length' with heredoc 'str' ***\n…
23 $str = <<<EOT
42 var_dump( str_split($str, $values[$count]) );
47 *** Testing str_split() : different intger values for 'split_length' with heredoc 'str' ***
/PHP-7.4/ext/hash/
H A Dhash_tiger.c99 #define split_ex(str) \ argument
100 x0=str[0]; x1=str[1]; x2=str[2]; x3=str[3]; \
101 x4=str[4]; x5=str[5]; x6=str[6]; x7=str[7];
103 # define split(str) \ argument
109 ((unsigned char *) tmp)[i^7] = ((unsigned char *) str)[i]; \
117 #define tiger_compress(passes, str, state) \ argument
127 split(str); \
/PHP-7.4/ext/reflection/
H A Dphp_reflection.c304 smart_str_appendc(str, '\n'); in _class_string()
613 smart_str_appendc(str, '&'); in _parameter_string()
662 smart_str_appends(str, " ]"); in _parameter_string()
1560 smart_str str = {0}; in ZEND_METHOD() local
2441 smart_str str = {0}; in ZEND_METHOD() local
3025 smart_str str = {0}; in ZEND_METHOD() local
3551 smart_str str = {0}; in ZEND_METHOD() local
3948 smart_str str = {0}; in ZEND_METHOD() local
5371 smart_str str = {0}; in ZEND_METHOD() local
5757 smart_str str = {0}; in ZEND_METHOD() local
[all …]
/PHP-7.4/ext/soap/tests/schema/
H A Dschema021.phpt12 <union memberTypes="int float str"/>
17 test_schema($schema,'type="tns:testType"',"123 123.5 456.7 str");
22 …SOAP-ENV:Body><ns1:test><testParam xsi:type="ns1:testType">123 123.5 456.7 str</testParam></ns1:te…
23 string(19) "123 123.5 456.7 str"
H A Dschema068.phpt10 <attribute name="str" type="string"/>
14 test_schema($schema,'type="tns:testType"',(object)array("str"=>"str","int"=>4));
H A Dschema022.phpt14 <union memberTypes="int float str"/>
19 test_schema($schema,'type="tns:testType"',array(123,123.5,'str'));
24 …ng/"><SOAP-ENV:Body><ns1:test><testParam xsi:type="ns1:testType">123 123.5 str</testParam></ns1:te…
25 string(13) "123 123.5 str"
/PHP-7.4/ext/zlib/tests/
H A Dgzwrite_error2.phpt14 $str = "Here is the string to be written. ";
15 var_dump(gzwrite( $h, $str, 0 ) );
16 var_dump(gzwrite( $h, $str, -1 ) );
H A Dgzwrite_variation1.phpt14 $str = "Here is the string to be written. ";
16 var_dump(gzwrite( $h, $str ) );
18 var_dump(gzwrite( $h, $str, $length ) );
/PHP-7.4/ext/intl/formatter/
H A Dformatter_parse.c43 char* str = NULL; in PHP_FUNCTION() local
55 &object, NumberFormatter_ce_ptr, &str, &str_len, &type, &zposition ) == FAILURE ) in PHP_FUNCTION()
72 intl_convert_utf8_to_utf16(&sstr, &sstr_len, str, str_len, &INTL_DATA_ERROR_CODE(nfo)); in PHP_FUNCTION()
131 char *str; in PHP_FUNCTION() local
140 &object, NumberFormatter_ce_ptr, &str, &str_len, &zcurrency, &zposition ) == FAILURE ) in PHP_FUNCTION()
152 intl_convert_utf8_to_utf16(&sstr, &sstr_len, str, str_len, &INTL_DATA_ERROR_CODE(nfo)); in PHP_FUNCTION()
/PHP-7.4/ext/dom/
H A Dnode.c201 char *str = NULL; in dom_node_node_name_read() local
257 str = "#text"; in dom_node_node_name_read()
287 char *str = NULL; in dom_node_node_value_read() local
308 str = NULL; in dom_node_node_value_read()
312 if(str != NULL) { in dom_node_node_value_read()
314 xmlFree(str); in dom_node_node_value_read()
326 zend_string *str; in dom_node_node_value_write() local
628 char *str = NULL; in dom_node_namespace_uri_read() local
644 str = NULL; in dom_node_namespace_uri_read()
685 str = NULL; in dom_node_prefix_read()
[all …]

Completed in 58 milliseconds

12345678910>>...31