/php-src/ext/standard/tests/strings/ |
H A D | count_chars.phpt | 10 echo (int) strlen(count_chars($s, 4)) == 256-strlen($a),"\n";
|
/php-src/ext/zlib/tests/ |
H A D | gzseek_basic2.phpt | 15 gzseek($h, strlen($str1) + 20); 22 echo gzread($h, strlen($str1))."\n"; 24 echo gzread($h, strlen($str2))."\n";
|
H A D | gzseek_variation4.phpt | 15 gzseek($h, strlen($str1) + 20, SEEK_SET); 22 echo gzread($h, strlen($str1))."\n"; 24 echo gzread($h, strlen($str2))."\n";
|
H A D | gzdeflate_variation1.phpt | 15 var_dump(strlen($output)); 16 var_dump(strlen(gzdeflate($output)));
|
H A D | gzcompress_variation1.phpt | 13 var_dump(strlen($output)); 14 var_dump(strlen(gzcompress($output)));
|
H A D | deflate_add_buffer_full.phpt | 26 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 D | bug73944.phpt | 10 echo '1 block: '.strlen($a).PHP_EOL; 14 echo '2 block: '.($b === false ? 'failed' : strlen($b)).PHP_EOL;
|
/php-src/Zend/tests/ |
H A D | bug78340.phpt | 21 $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 D | corrupt_tarmaker.php.inc | 52 '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 D | date.phpt | 8 for($a = 0;$a < strlen($tmp); $a++){ 14 for($a = 0;$a < strlen($tmp); $a++){
|
/php-src/main/ |
H A D | php_open_temporary_file.c | 113 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 D | getBytesFromString_fast_path.phpt | 20 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 D | bug69840.phpt | 8 var_dump(strlen($str)); 12 var_dump(strlen($str));
|
/php-src/ext/phar/tests/files/ |
H A D | openssl.phar | 67 $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 D | openssl256.phar | 67 $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 D | openssl512.phar | 67 $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 D | include_path2.phar | 67 $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 D | nophar.phar | 67 $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 D | nophar.phar | 67 $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 D | openssl.phar | 67 $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 D | idate_iso.phpt | 7 for ($a = 0; $a < strlen($tmp); $a++){ 11 for ($a = 0; $a < strlen($tmp); $a++){
|
/php-src/ext/standard/html_tables/ |
H A D | html_table_gen.php | 474 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 D | include_userstream_002.phpt | 21 $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 D | build_precommand.php | 34 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 D | http.c | 56 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()
|