Home
last modified time | relevance | path

Searched refs:str (Results 251 – 275 of 805) sorted by relevance

1...<<11121314151617181920>>...33

/php-src/ext/mbstring/
H A Dmbstring.c628 while (*str && isspace(*(unsigned char *)str)) { in php_mb_rfc1867_getword_conf()
629 ++str; in php_mb_rfc1867_getword_conf()
632 if (!*str) { in php_mb_rfc1867_getword_conf()
636 if (*str == '"' || *str == '\'') { in php_mb_rfc1867_getword_conf()
639 str++; in php_mb_rfc1867_getword_conf()
1552 zend_string *str; in PHP_FUNCTION() local
1556 Z_PARAM_STR(str) in PHP_FUNCTION()
1634 Z_PARAM_STR(str) in PHP_FUNCTION()
2317 Z_PARAM_STR(str) in PHP_FUNCTION()
4275 ps = str; in _php_mbstr_parse_mail_headers()
[all …]
/php-src/ext/standard/tests/serialize/
H A DunserializeS.phpt7 $str = 'S:'.(100*3).':"'.str_repeat('\61', 100).'"';
10 $data = unserialize($str);
/php-src/ext/hash/tests/
H A Dxxhash_unserialize_memsize.phpt6 $str = <<<'STR'
9 $hash = unserialize($str);
16 $str = <<<'STR'
19 $hash = unserialize($str);
/php-src/ext/standard/tests/general_functions/
H A Dvar_export_basic4.phpt28 foreach($valid_strings as $key => $str) {
30 var_export( $str );
32 var_export( $str, FALSE);
34 var_dump( var_export( $str, TRUE) );
/php-src/ext/standard/tests/strings/
H A Dnl2br_variation1.phpt2 Test nl2br() function : usage variations - double quoted strings for 'str' argument
6 * combinations of new line chars to 'str' argument
36 foreach( $strings as $str ){
38 var_dump(nl2br($str) );
H A Ducfirst.phpt81 $str = <<<EOD
83 var_dump(ucfirst($str));
87 $str = 'world';
90 var_dump(ucfirst("$str"));
91 var_dump(ucfirst("$str'S"));
95 var_dump(ucfirst("${str}S"));
96 var_dump(ucfirst("{$str}S"));
H A Dbug38322.phpt6 $str = "a b c d e";
7 var_dump(sscanf("a ",'%1$s',$str));
H A Dwordwrap_error.phpt7 $str = 'testing wordwrap function';
18 var_dump( wordwrap($str, $width, $break, $cut) );
26 wordwrap($str, $width, $break, $cut);
35 var_dump( wordwrap($str, $width, $break, $cut) );
41 var_dump( wordwrap($str, $width, $break, $cut) );
/php-src/ext/mbstring/tests/
H A Dgh11476.phpt7 $str = str_repeat('a', 250) . chr(246) . str_repeat('a', 9) . chr(246) . str_repeat('a', 6);
8 $detectedEncoding = mb_detect_encoding($str, mb_list_encodings(), true);
H A Dbug79371.phpt8 $str = implode(array_map("chr", $bytes));
9 var_dump(bin2hex(mb_strtolower($str, "UTF-32LE")));
/php-src/Zend/
H A Dzend_attributes.c164 static zend_attribute *get_attribute_str(HashTable *attributes, const char *str, size_t len, uint32… in get_attribute_str() argument
170 if (attr->offset == offset && zend_string_equals_cstr(attr->lcname, str, len)) { in get_attribute_str()
184 ZEND_API zend_attribute *zend_get_attribute_str(HashTable *attributes, const char *str, size_t len) in zend_get_attribute_str() argument
186 return get_attribute_str(attributes, str, len, 0); in zend_get_attribute_str()
194 ZEND_API zend_attribute *zend_get_parameter_attribute_str(HashTable *attributes, const char *str, s… in zend_get_parameter_attribute_str() argument
196 return get_attribute_str(attributes, str, len, offset + 1); in zend_get_parameter_attribute_str()
228 smart_str str = { 0 }; in zend_get_attribute_target_names() local
232 if (smart_str_get_len(&str)) { in zend_get_attribute_target_names()
233 smart_str_appends(&str, ", "); in zend_get_attribute_target_names()
236 smart_str_appends(&str, target_names[i]); in zend_get_attribute_target_names()
[all …]
H A Dzend.h240 size_t (*write_function)(const char *str, size_t str_length);
257 typedef size_t (*zend_write_func_t)(const char *str, size_t str_length);
304 void zend_print_flat_zval_r_to_buf(smart_str *str, zval *expr);
324 #define ZEND_WRITE(str, str_len) zend_write((str), (str_len)) argument
325 #define ZEND_WRITE_EX(str, str_len) write_func((str), (str_len)) argument
326 #define ZEND_PUTS(str) zend_write((str), strlen((str))) argument
327 #define ZEND_PUTS_EX(str) write_func((str), strlen((str))) argument
/php-src/Zend/tests/
H A Dstatic_method_non_existing_class.phpt6 $str = "foo";
8 Test::{$str . "bar"}();
H A Dbug53629.phpt6 $str = '
24 highlight_string($str, true);
/php-src/ext/ffi/tests/
H A D200.phpt21 typedef size_t (*zend_write_func_t)(const char *str, size_t str_length);
28 $zend->zend_write = function($str, $len) {
31 $ret = $orig_zend_write($str, $len);
/php-src/ext/pdo_sqlite/tests/
H A Dbug_47769.phpt17 public function quote($str, $paramtype = NULL): string|false {
20 print $str ."\n";
22 return $str;
/php-src/ext/dom/lexbor/lexbor/css/
H A Dcss.h37 lxb_css_make_data(lxb_css_parser_t *parser, lexbor_str_t *str,
44 lxb_css_serialize_str_handler(const void *style, lexbor_str_t *str,
/php-src/ext/standard/tests/array/
H A Dbug77793.phpt6 $str = 'foo';
7 $vars = ['var' => $str . 'bar'];
/php-src/ext/opcache/tests/
H A Dbug77691.phpt9 function dump($str) {
10 var_dump($str);
/php-src/ext/standard/tests/file/
H A Dbug46347.phpt6 $str = <<< EOF
12 file_put_contents($file, $str);
/php-src/ext/gmp/tests/
H A Dbug74670.phpt7 $str = 'C:3:"GMP":4:{s:6666666666:""}';
8 var_dump(unserialize($str));
/php-src/Zend/asm/
H A Dmake_arm_aapcs_elf_gas.S55 str a3, [a1, #104]
60 str a3, [a1, #64]
66 str a2, [a1, #100]
/php-src/ext/zend_test/tests/
H A Dobserver_frameless.phpt10 function _strpos(string $str) {
11 return \strpos($str, 'o', 1);
/php-src/sapi/apache2handler/
H A Dapache_config.c153 zend_string *str; in merge_php_config() local
160 ZEND_HASH_MAP_FOREACH_STR_KEY_VAL(&d->config, str, data) { in merge_php_config()
165 key = zend_string_dup(str, 1); in merge_php_config()
195 zend_string *str; in apply_config() local
198 ZEND_HASH_MAP_FOREACH_STR_KEY_PTR(&d->config, str, data) { in apply_config()
199 phpapdebug((stderr, "APPLYING (%s)(%s)\n", ZSTR_VAL(str), data->value)); in apply_config()
200 …if (zend_alter_ini_entry_chars(str, data->value, data->value_len, data->status, data->htaccess?PHP… in apply_config()
/php-src/ext/dom/
H A Dxpath_callbacks.c208 zend_string *str = zval_try_get_string(entry); in php_dom_xpath_callback_ns_update_method_handler() local
209 if (str && php_dom_xpath_is_callback_name_valid_and_throw(str, name_validation, true)) { in php_dom_xpath_callback_ns_update_method_handler()
212 register_func(ctxt, namespace, str); in php_dom_xpath_callback_ns_update_method_handler()
214 zend_string_release_ex(str, false); in php_dom_xpath_callback_ns_update_method_handler()
338 char *str = (char *)xmlXPathCastToString(obj); in php_dom_xpath_callback_fetch_args() local
339 ZVAL_STRING(param, str); in php_dom_xpath_callback_fetch_args()
340 xmlFree(str); in php_dom_xpath_callback_fetch_args()
369 char *str = (char *)xmlXPathCastToString(obj); in php_dom_xpath_callback_fetch_args() local
370 ZVAL_STRING(param, str); in php_dom_xpath_callback_fetch_args()
371 xmlFree(str); in php_dom_xpath_callback_fetch_args()
[all …]

Completed in 79 milliseconds

1...<<11121314151617181920>>...33