Home
last modified time | relevance | path

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

12345678910>>...29

/PHP-7.2/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));
H A Dtarmaker.php.inc52 'size' => strlen($fileOrStream),
71 if (strlen($path) > 255) {
75 } else if (strlen($path) > 100) {
76 $filePrefix = substr($path, 0, strlen($path)-100);
118 if (strlen($fileOrStream) % 512) {
119 fwrite($this->tmp, (binary)str_repeat("\0", 512 - strlen($fileOrStream) % 512));
/PHP-7.2/ext/standard/tests/strings/
H A Dstrncasecmp_variation10.phpt91 $len = strlen($values[$index]) + 1;
132 Warning: strlen() expects parameter 1 to be string, array given in %s on line 88
138 Warning: strlen() expects parameter 1 to be string, array given in %s on line 88
144 Warning: strlen() expects parameter 1 to be string, array given in %s on line 88
150 Warning: strlen() expects parameter 1 to be string, array given in %s on line 88
156 Warning: strlen() expects parameter 1 to be string, array given in %s on line 88
182 Warning: strlen() expects parameter 1 to be string, resource given in %s on line 88
H A Dstrncasecmp_variation4.phpt92 $len = strlen($values[$index]) + 1;
133 Warning: strlen() expects parameter 1 to be string, array given in %s on line %d
139 Warning: strlen() expects parameter 1 to be string, array given in %s on line %d
145 Warning: strlen() expects parameter 1 to be string, array given in %s on line %d
151 Warning: strlen() expects parameter 1 to be string, array given in %s on line %d
157 Warning: strlen() expects parameter 1 to be string, array given in %s on line %d
183 Warning: strlen() expects parameter 1 to be string, resource given in %s on line %d
H A Dstrncasecmp_variation11.phpt92 $len = strlen($values[$index]) + 1;
133 Warning: strlen() expects parameter 1 to be string, array given in %s on line %d
139 Warning: strlen() expects parameter 1 to be string, array given in %s on line %d
145 Warning: strlen() expects parameter 1 to be string, array given in %s on line %d
151 Warning: strlen() expects parameter 1 to be string, array given in %s on line %d
157 Warning: strlen() expects parameter 1 to be string, array given in %s on line %d
183 Warning: strlen() expects parameter 1 to be string, resource given in %s on line %d
H A Dstrncmp_variation4.phpt92 $len = strlen($values[$index]) + 1;
136 Warning: strlen() expects parameter 1 to be string, array given in %s on line %d
142 Warning: strlen() expects parameter 1 to be string, array given in %s on line %d
148 Warning: strlen() expects parameter 1 to be string, array given in %s on line %d
154 Warning: strlen() expects parameter 1 to be string, array given in %s on line %d
160 Warning: strlen() expects parameter 1 to be string, array given in %s on line %d
186 Warning: strlen() expects parameter 1 to be string, resource given in %s on line %d
/PHP-7.2/ext/zlib/tests/
H A Dgzseek_basic2.phpt19 gzseek($h, strlen($str1) + 20);
26 echo gzread($h, strlen($str1))."\n";
28 echo gzread($h, strlen($str2))."\n";
H A Dgzseek_variation4.phpt19 gzseek($h, strlen($str1) + 20, SEEK_SET);
26 echo gzread($h, strlen($str1))."\n";
28 echo gzread($h, strlen($str2))."\n";
H A Dbug73944.phpt8 echo '1 block: '.strlen($a).PHP_EOL;
12 echo '2 block: '.($b === false ? 'failed' : strlen($b)).PHP_EOL;
H A Ddeflate_add_buffer_full.phpt30 echo bin2hex(substr($deflated, strlen($deflated) - 4)) . "\n";
38 echo bin2hex(substr($deflated, strlen($deflated) - 4)) . "\n";
46 echo bin2hex(substr($deflated, strlen($deflated) - 4)) . "\n";
/PHP-7.2/ext/opcache/tests/
H A Dbug68644.phpt2 Bug #68644 strlen incorrect : mbstring + func_overload=2 + UTF-8 + Opcache
12 var_dump(strlen("中国, 北京"));
/PHP-7.2/ext/iconv/tests/
H A Dbug69840.phpt6 var_dump(strlen($str));
10 var_dump(strlen($str));
/PHP-7.2/ext/date/tests/
H A Ddate.phpt8 for($a = 0;$a < strlen($tmp); $a++){
14 for($a = 0;$a < strlen($tmp); $a++){
/PHP-7.2/main/
H A Dphp_open_temporary_file.c117 if (!php_win32_check_trailing_space(pfx, strlen(pfx))) { in php_do_open_temporary_file()
128 new_state.cwd_length = (int)strlen(cwd); in php_do_open_temporary_file()
166 assert(strlen(opened_path) == opened_path_len); in php_do_open_temporary_file()
197 *opened_path_p = zend_string_init(opened_path, strlen(opened_path), 0); in php_do_open_temporary_file()
219 int len = (int)strlen(sys_temp_dir); in php_get_temporary_directory()
256 int len = strlen(s); in php_get_temporary_directory()
/PHP-7.2/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-7.2/ext/phar/tests/files/
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) . " != " .
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-7.2/ext/openssl/tests/
H A Dopenssl_pkey_new_basic.phpt72 var_dump(strlen($dsa_details['priv_key']));
73 var_dump(strlen($dsa_details['pub_key']));
89 var_dump(strlen($dh_details['pub_key']));
90 var_dump(strlen($dh_details['priv_key']));
/PHP-7.2/ext/standard/html_tables/
H A Dhtml_table_gen.php479 sprintf("% 2d", strlen($v["default"])), '} },', "\n";
487 sprintf("% 2d", strlen($w)), '} },', "\n";
560 echo "{0, { {\"$z\", ", strlen($z), "} } },";
729 $nKeyLength = strlen($str);
746 $entlen = strlen($e[0]) + 2;
747 $utf8len = strlen(
762 $h[0], strlen($h[0]), hexdec($h[1]), hexdec($h[2]));
765 $h[0], strlen($h[0]), hexdec($h[1]));
/PHP-7.2/ext/standard/tests/file/
H A Dinclude_userstream_002.phpt20 $this->pos = strlen($this->data);
33 $this->pos += strlen($ret);
50 return $this->pos >= strlen($this->data);
76 if (strlen($this->data) + $offset >= 0) {
77 $this->pos = strlen($this->data) + $offset;
/PHP-7.2/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-7.2/ext/standard/tests/file/windows_mb_path/
H A Dtest_long_path_2.phpt27 echo strlen($p), "\n", $p, "\n";
36 var_dump(substr($p, 0, strlen($p) - 1) == $p2);
46 $p0 = substr($p, 0, strlen($p) - $i*(strlen($s) + 1));
/PHP-7.2/ext/mysqli/tests/
H A Dmysqli_insert_packet_overflow.phpt79 $query_len = strlen($query_prefix) + strlen($query_postfix);
87 …printf("[013] max_allowed_packet = %d, strlen(query) = %d, [%d] %s\n", $max_allowed_packet, strlen
97 var_dump(strlen($row['col_blob']));
98 var_dump(strlen($blob));

Completed in 85 milliseconds

12345678910>>...29