Home
last modified time | relevance | path

Searched refs:count_chars (Results 1 – 5 of 5) sorted by relevance

/php-src/ext/standard/tests/strings/
H A Dcount_chars.phpt2 count_chars() function
7 echo implode(count_chars($s, $i))."\n";
9 echo $a = count_chars($s, 3), "\n";
10 echo (int) strlen(count_chars($s, 4)) == 256-strlen($a),"\n";
H A Dcount_chars_basic.phpt2 Test count_chars() function : basic functionality
6 echo "*** Testing count_chars() : basic functionality ***\n";
10 var_dump(count_chars($string));
11 var_dump(count_chars($string, 0));
12 var_dump(count_chars($string, 1));
13 var_dump(count_chars($string, 2));
14 var_dump(count_chars($string, 3));
15 var_dump(bin2hex(count_chars($string, 4)));
18 count_chars($string, 5);
25 *** Testing count_chars() : basic functionality ***
[all …]
/php-src/ext/standard/
H A Dstring.c3048 static zend_always_inline zend_long count_chars(const char *p, zend_long length, char ch) function
3105 char_count = count_chars(ZSTR_VAL(str), ZSTR_LEN(str), from);
5516 PHP_FUNCTION(count_chars) argument
5719 count = count_chars(p, length, needle[0]);
H A Dbasic_functions.stub.php2578 function count_chars(string $string, int $mode = 0): array|string {}
H A Dbasic_functions_arginfo.h2569 ZEND_FUNCTION(count_chars);

Completed in 44 milliseconds