Searched refs:strlen (Results 1 – 25 of 779) sorted by path
12345678910>>...32
/php-src/ |
H A D | CODING_STANDARDS.md | 44 calculated with `strlen()`. Write your functions in such a way so that 48 doesn't have to be recalculated with `strlen()` (e.g. `php_addslashes()`). 269 1. The length of constant string literals should be calculated via ``strlen()``
|
/php-src/TSRM/ |
H A D | tsrm_win32.c | 123 ptc_sid_len = strlen(ptcSid); in tsrm_win32_get_path_sid_key() 207 if(!IS_ABSOLUTE_PATH(pathname, strlen(pathname)+1)) { in tsrm_win32_access() 274 bucket = realpath_cache_lookup(pathname, strlen(pathname), t); in tsrm_win32_access() 280 bucket = realpath_cache_lookup(pathname, strlen(pathname), t); in tsrm_win32_access() 467 type_len = (int)strlen(type); in popen_ex() 480 cmd = (char*)malloc(strlen(command)+strlen(TWG(comspec))+sizeof(" /s /c ")+2); in popen_ex()
|
/php-src/Zend/ |
H A D | bench.php | 20 strlen("hallo"); 342 $len = strlen($str); 367 $pad = str_repeat(" ", 24-strlen($name)-strlen($num)); 380 $pad = str_repeat(" ", 24-strlen("Total")-strlen($num));
|
H A D | micro_bench.php | 262 $pad = str_repeat(" ", 24-strlen($name)-strlen($num)); 279 $pad = str_repeat(" ", 24-strlen("Total")-strlen($num));
|
/php-src/Zend/tests/ |
H A D | assign_coalesce_009.phpt | 5 strlen("foo")[0] ??= 123;
|
H A D | bug21478.phpt | 10 $consumed += strlen($bucket->data);
|
H A D | bug26696.phpt | 6 $len = strlen($str);
|
H A D | bug38779.phpt | 17 $this->position += strlen($ret); 21 return $this->position >= strlen($this->data); 24 return array('size' => strlen($this->data));
|
H A D | bug38779_1.phpt | 17 $this->position += strlen($ret); 21 return $this->position >= strlen($this->data);
|
H A D | bug64966.phpt | 15 test("strlen");
|
H A D | bug69315.phpt | 4 disable_functions=strlen,defined,call_user_func,constant,is_string 8 var_dump(function_exists("strlen")); 9 var_dump(is_callable("strlen")); 11 var_dump(strlen("xxx")); 26 var_dump(call_user_func("strlen")); 45 Call to undefined function strlen()
|
H A D | bug70681.phpt | 9 $c = (new ReflectionFunction('strlen'))->getClosure();
|
H A D | bug78340.phpt | 21 $this->pos+= strlen($chunk); 26 return $this->pos >= strlen($this->bytes); 36 'size' => strlen($this->bytes),
|
H A D | bug78406.phpt | 22 $consumed = strlen($this->data);
|
H A D | bug79382.phpt | 4 disable_functions=strlen 8 function strlen(string $x): int { 12 var_dump(strlen("foobar"));
|
H A D | bug79783.phpt | 5 str_replace("a", "b", "c", strlen("d"));
|
H A D | builtin_in_write_context_error1.phpt | 6 strlen("foo")[0] = 1;
|
H A D | builtin_in_write_context_error2.phpt | 6 $ref =& strlen("foo");
|
H A D | by_ref_optimization.phpt | 6 call_user_func('ref', function_exists('strlen')); 7 ref(function_exists('strlen'));
|
H A D | call_user_func_strict_arginfo_check.phpt | 9 // strlen() will be called with strict_types=0, so this is legal. 10 var_dump(call_user_func('strlen', false));
|
H A D | closure_061.phpt | 30 ['strlen', [ 95 echo "$fnStr()\n" . str_repeat('-', strlen($fnStr) + 2), "\n\n"; 132 strlen()
|
H A D | closure_compare.phpt | 14 $closures[0] = Closure::fromCallable('strlen'); 15 $closures[1] = Closure::fromCallable('strlen'); 17 printf("strlen == strlen: %s\n", $closures[0] == $closures[1] ? "OK" : "FAIL"); 19 $closures[0] = Closure::fromCallable('strlen'); 22 printf("strlen != strrev: %s\n", $closures[0] != $closures[1] ? "OK" : "FAIL"); 103 strlen == strlen: OK 104 strlen != strrev: OK
|
H A D | concat_002.phpt | 18 var_dump(strlen($result));
|
H A D | exception_from_toString.phpt | 91 try { strlen($badStr); } catch (Exception $e) { echo "Exception\n"; }
|
H A D | first_class_callable_007.phpt | 5 $strlen = strlen(...); 7 if ($strlen("Hello World") === 11) {
|
Completed in 32 milliseconds
12345678910>>...32