Home
last modified time | relevance | path

Searched refs:strlen (Results 76 – 100 of 779) sorted by relevance

12345678910>>...32

/php-src/ext/standard/tests/strings/
H A Dcount_chars.phpt10 echo (int) strlen(count_chars($s, 4)) == 256-strlen($a),"\n";
/php-src/ext/zlib/tests/
H A Dgzseek_basic2.phpt15 gzseek($h, strlen($str1) + 20);
22 echo gzread($h, strlen($str1))."\n";
24 echo gzread($h, strlen($str2))."\n";
H A Dgzseek_variation4.phpt15 gzseek($h, strlen($str1) + 20, SEEK_SET);
22 echo gzread($h, strlen($str1))."\n";
24 echo gzread($h, strlen($str2))."\n";
H A Dgzdeflate_variation1.phpt15 var_dump(strlen($output));
16 var_dump(strlen(gzdeflate($output)));
H A Dgzcompress_variation1.phpt13 var_dump(strlen($output));
14 var_dump(strlen(gzcompress($output)));
H A Ddeflate_add_buffer_full.phpt26 echo bin2hex(substr($deflated, strlen($deflated) - 4)) . "\n";
34 echo bin2hex(substr($deflated, strlen($deflated) - 4)) . "\n";
42 echo bin2hex(substr($deflated, strlen($deflated) - 4)) . "\n";
H A Dbug73944.phpt10 echo '1 block: '.strlen($a).PHP_EOL;
14 echo '2 block: '.($b === false ? 'failed' : strlen($b)).PHP_EOL;
/php-src/Zend/tests/
H A Dbug78340.phpt21 $this->pos+= strlen($chunk);
26 return $this->pos >= strlen($this->bytes);
36 'size' => strlen($this->bytes),
/php-src/ext/phar/tests/tar/files/
H A Dcorrupt_tarmaker.php.inc52 'size' => strlen($fileOrStream),
78 if (strlen($path) > 255) {
82 } else if (strlen($path) > 100) {
83 $filePrefix = substr($path, 0, strlen($path)-100);
126 if (strlen($fileOrStream) && !isset($link) && strlen($fileOrStream) % 512) {
127 fwrite($this->tmp, str_repeat("\0", 512 - strlen($fileOrStream) % 512));
/php-src/ext/date/tests/
H A Ddate.phpt8 for($a = 0;$a < strlen($tmp); $a++){
14 for($a = 0;$a < strlen($tmp); $a++){
/php-src/main/
H A Dphp_open_temporary_file.c113 if (!php_win32_check_trailing_space(pfx, strlen(pfx))) { in php_do_open_temporary_file()
124 new_state.cwd_length = strlen(cwd); in php_do_open_temporary_file()
162 assert(strlen(opened_path) == opened_path_len); in php_do_open_temporary_file()
193 *opened_path_p = zend_string_init(opened_path, strlen(opened_path), 0); in php_do_open_temporary_file()
215 size_t len = strlen(sys_temp_dir); in php_get_temporary_directory()
255 size_t len = strlen(s); in php_get_temporary_directory()
/php-src/ext/random/tests/03_randomizer/methods/
H A DgetBytesFromString_fast_path.phpt20 var_dump(strlen($allBytes));
24 for ($i = 1; $i <= strlen($allBytes); $i *= 2) {
37 for ($j = 0; $j < strlen($result); $j++) {
53 for ($i = 1; ($i + 1) <= strlen($allBytes); $i *= 2) {
63 for ($j = 0; $j < strlen($result); $j++) {
86 for ($j = 0; $j < strlen($result); $j++) {
/php-src/ext/iconv/tests/
H A Dbug69840.phpt8 var_dump(strlen($str));
12 var_dump(strlen($str));
/php-src/ext/phar/tests/files/
H A Dopenssl.phar67 $pt = substr($_SERVER['REQUEST_URI'], strpos($_SERVER['REQUEST_URI'], $basename) + strlen($basename…
75 if (!$a || strlen(dirname($a)) < strlen(Extract_Phar::$temp)) {
122 if ($L[1] - strlen($m) < 8192) {
123 $read = $L[1] - strlen($m);
127 } while (strlen($last) && strlen($m) < $L[1]);
129 if (strlen($m) < $L[1]) {
131 strlen($m) .'" should be "' .
180 if ($path[strlen($path) - 1] == '/') {
260 if (strlen($data) != $entry[0]) {
261 die("Invalid internal .phar file (size error " . strlen($data) . " != " .
H A Dopenssl256.phar67 $pt = substr($_SERVER['REQUEST_URI'], strpos($_SERVER['REQUEST_URI'], $basename) + strlen($basename…
75 if (!$a || strlen(dirname($a)) < strlen(Extract_Phar::$temp)) {
122 if ($L[1] - strlen($m) < 8192) {
123 $read = $L[1] - strlen($m);
127 } while (strlen($last) && strlen($m) < $L[1]);
129 if (strlen($m) < $L[1]) {
131 strlen($m) .'" should be "' .
180 if ($path[strlen($path) - 1] == '/') {
260 if (strlen($data) != $entry[0]) {
261 die("Invalid internal .phar file (size error " . strlen($data) . " != " .
H A Dopenssl512.phar67 $pt = substr($_SERVER['REQUEST_URI'], strpos($_SERVER['REQUEST_URI'], $basename) + strlen($basename…
75 if (!$a || strlen(dirname($a)) < strlen(Extract_Phar::$temp)) {
122 if ($L[1] - strlen($m) < 8192) {
123 $read = $L[1] - strlen($m);
127 } while (strlen($last) && strlen($m) < $L[1]);
129 if (strlen($m) < $L[1]) {
131 strlen($m) .'" should be "' .
180 if ($path[strlen($path) - 1] == '/') {
260 if (strlen($data) != $entry[0]) {
261 die("Invalid internal .phar file (size error " . strlen($data) . " != " .
H A Dinclude_path2.phar67 $pt = substr($_SERVER['REQUEST_URI'], strpos($_SERVER['REQUEST_URI'], $basename) + strlen($basename…
75 if (!$a || strlen(dirname($a)) < strlen(Extract_Phar::$temp)) {
122 if ($L[1] - strlen($m) < 8192) {
123 $read = $L[1] - strlen($m);
127 } while (strlen($last) && strlen($m) < $L[1]);
129 if (strlen($m) < $L[1]) {
131 strlen($m) .'" should be "' .
180 if ($path[strlen($path) - 1] == '/') {
260 if (strlen($data) != $entry[0]) {
261 die("Invalid internal .phar file (size error " . strlen($data) . " != " .
H A Dnophar.phar67 $pt = substr($_SERVER['REQUEST_URI'], strpos($_SERVER['REQUEST_URI'], $basename) + strlen($basename…
75 if (!$a || strlen(dirname($a)) < strlen(Extract_Phar::$temp)) {
122 if ($L[1] - strlen($m) < 8192) {
123 $read = $L[1] - strlen($m);
127 } while (strlen($last) && strlen($m) < $L[1]);
129 if (strlen($m) < $L[1]) {
131 strlen($m) .'" should be "' .
180 if ($path[strlen($path) - 1] == '/') {
260 if (strlen($data) != $entry[0]) {
261 die("Invalid internal .phar file (size error " . strlen($data) . " != " .
/php-src/ext/phar/tests/cache_list/files/
H A Dnophar.phar67 $pt = substr($_SERVER['REQUEST_URI'], strpos($_SERVER['REQUEST_URI'], $basename) + strlen($basename…
75 if (!$a || strlen(dirname($a)) < strlen(Extract_Phar::$temp)) {
122 if ($L[1] - strlen($m) < 8192) {
123 $read = $L[1] - strlen($m);
127 } while (strlen($last) && strlen($m) < $L[1]);
129 if (strlen($m) < $L[1]) {
131 strlen($m) .'" should be "' .
180 if ($path[strlen($path) - 1] == '/') {
260 if (strlen($data) != $entry[0]) {
261 die("Invalid internal .phar file (size error " . strlen($data) . " != " .
H A Dopenssl.phar67 $pt = substr($_SERVER['REQUEST_URI'], strpos($_SERVER['REQUEST_URI'], $basename) + strlen($basename…
75 if (!$a || strlen(dirname($a)) < strlen(Extract_Phar::$temp)) {
122 if ($L[1] - strlen($m) < 8192) {
123 $read = $L[1] - strlen($m);
127 } while (strlen($last) && strlen($m) < $L[1]);
129 if (strlen($m) < $L[1]) {
131 strlen($m) .'" should be "' .
180 if ($path[strlen($path) - 1] == '/') {
260 if (strlen($data) != $entry[0]) {
261 die("Invalid internal .phar file (size error " . strlen($data) . " != " .
/php-src/ext/standard/tests/time/
H A Didate_iso.phpt7 for ($a = 0; $a < strlen($tmp); $a++){
11 for ($a = 0; $a < strlen($tmp); $a++){
/php-src/ext/standard/html_tables/
H A Dhtml_table_gen.php474 sprintf("% 2d", strlen($v["default"])), '} },', "\n";
482 sprintf("% 2d", strlen($w)), '} },', "\n";
555 echo "{0, { {\"$z\", ", strlen($z), "} } },";
724 $nKeyLength = strlen($str);
741 $entlen = strlen($e[0]) + 2;
742 $utf8len = strlen(
757 $h[0], strlen($h[0]), hexdec($h[1]), hexdec($h[2]));
760 $h[0], strlen($h[0]), hexdec($h[1]));
/php-src/ext/standard/tests/file/
H A Dinclude_userstream_002.phpt21 $this->pos = strlen($this->data);
34 $this->pos += strlen($ret);
51 return $this->pos >= strlen($this->data);
77 if (strlen($this->data) + $offset >= 0) {
78 $this->pos = strlen($this->data) + $offset;
/php-src/ext/phar/
H A Dbuild_precommand.php34 while ($c && (strlen($f[$c]) == 0 || $f[$c] == "\n" || $f[$c] == "\r\n")) {
46 while ($c && (strlen($f[$c]) == 0 || $f[$c] == "\n" || $f[$c] == "\r\n")) {
/php-src/ext/standard/
H A Dhttp.c56 smart_str_appendl(form_str, "%5D", strlen("%5D")); in php_url_encode_scalar()
118 arg_sep = zend_ini_str("arg_separator.output", strlen("arg_separator.output"), false); in php_url_encode_hash_ex()
169 …), ZSTR_LEN(key_prefix), ZSTR_VAL(encoded_key), ZSTR_LEN(encoded_key), "%5D%5B", strlen("%5D%5B")); in php_url_encode_hash_ex()
171 …new_prefix = zend_string_concat2(ZSTR_VAL(encoded_key), ZSTR_LEN(encoded_key), "%5B", strlen("%5B"… in php_url_encode_hash_ex()
182 size_t len = ZSTR_LEN(key_prefix) + num_prefix_len + index_int_as_str_len + strlen("%5D%5B"); in php_url_encode_hash_ex()
188 …prefix) + ZSTR_LEN(key_prefix) + num_prefix_len +index_int_as_str_len, "%5D%5B", strlen("%5D%5B")); in php_url_encode_hash_ex()
191 …prefix), ZSTR_LEN(key_prefix), index_int_as_str, index_int_as_str_len, "%5D%5B", strlen("%5D%5B")); in php_url_encode_hash_ex()
193 …_concat3(num_prefix, num_prefix_len, index_int_as_str, index_int_as_str_len, "%5B", strlen("%5B")); in php_url_encode_hash_ex()
195 new_prefix = zend_string_concat2(index_int_as_str, index_int_as_str_len, "%5B", strlen("%5B")); in php_url_encode_hash_ex()

Completed in 95 milliseconds

12345678910>>...32