Home
last modified time | relevance | path

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

12345678910>>...29

/PHP-7.4/ext/date/tests/
H A Ddate.phpt8 for($a = 0;$a < strlen($tmp); $a++){
14 for($a = 0;$a < strlen($tmp); $a++){
H A Dbug65184.phpt17 for ($i = 0; $i < strlen($s); $i++) {
22 echo strlen(strftime('%A')), "\n";
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_print.c187 if (phpdbg_safe_class_lookup(param->method.class, strlen(param->method.class), &ce) == SUCCESS) { in PHPDBG_PRINT()
189 zend_string *lcname = zend_string_alloc(strlen(param->method.name), 0); in PHPDBG_PRINT()
295 if (!(func = zend_hash_str_find_ptr(&ce->function_table, function, strlen(function)))) { in phpdbg_print_opcodes_method_ce()
306 if (phpdbg_safe_class_lookup(class, strlen(class), &ce) != SUCCESS) { in phpdbg_print_opcodes_method()
310 …if (ce->name->len == strlen(class) && !zend_binary_strcasecmp(class, strlen(class), ce->name->val,… in phpdbg_print_opcodes_method()
364 if (phpdbg_safe_class_lookup(class, strlen(class), &ce) != SUCCESS) { in phpdbg_print_opcodes_class()
368 …if (ce->name->len == strlen(class) && !zend_binary_strcasecmp(class, strlen(class), ce->name->val,… in phpdbg_print_opcodes_class()
406 function = zend_str_tolower_dup(function, strlen(function)); in phpdbg_print_opcodes()
409 phpdbg_print_opcodes_function(function, strlen(function)); in phpdbg_print_opcodes()
/PHP-7.4/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 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";
H A Dbug73944.phpt10 echo '1 block: '.strlen($a).PHP_EOL;
14 echo '2 block: '.($b === false ? 'failed' : strlen($b)).PHP_EOL;
/PHP-7.4/ext/iconv/tests/
H A Dbug69840.phpt8 var_dump(strlen($str));
12 var_dump(strlen($str));
/PHP-7.4/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.4/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.4/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.4/main/
H A Dphp_open_temporary_file.c115 if (!php_win32_check_trailing_space(pfx, strlen(pfx))) { in php_do_open_temporary_file()
126 new_state.cwd_length = strlen(cwd); in php_do_open_temporary_file()
164 assert(strlen(opened_path) == opened_path_len); in php_do_open_temporary_file()
195 *opened_path_p = zend_string_init(opened_path, strlen(opened_path), 0); in php_do_open_temporary_file()
217 size_t len = strlen(sys_temp_dir); in php_get_temporary_directory()
257 size_t len = strlen(s); in php_get_temporary_directory()
/PHP-7.4/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.4/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.4/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.4/ext/standard/html_tables/
H A Dhtml_table_gen.php478 sprintf("% 2d", strlen($v["default"])), '} },', "\n";
486 sprintf("% 2d", strlen($w)), '} },', "\n";
559 echo "{0, { {\"$z\", ", strlen($z), "} } },";
728 $nKeyLength = strlen($str);
745 $entlen = strlen($e[0]) + 2;
746 $utf8len = strlen(
761 $h[0], strlen($h[0]), hexdec($h[1]), hexdec($h[2]));
764 $h[0], strlen($h[0]), hexdec($h[1]));
/PHP-7.4/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.4/ext/ffi/tests/
H A D100.phpt34 var_dump($zend->zend_hash_func("file", strlen("file")));
37 FFI::memcpy($str, "Hello World!", strlen("Hello World!"));
38 $zend->zend_str_tolower($str, strlen("Hello World!"));
/PHP-7.4/ext/sockets/tests/
H A Dmcast_ipv6_recv_limited.phpt23 $r = socket_sendto($s, $m = "testing packet", strlen($m), 0, 'ff01::114', 3000);
66 $r = socket_sendto($sends1, $m = "testing packet", strlen($m), 0, $mcastaddr, 3000);
73 $r = socket_sendto($sends1, $m = "initial packet", strlen($m), 0, $mcastaddr, 3000);
89 $r = socket_sendto($sends1, $m = "ignored mcast packet", strlen($m), 0, $mcastaddr, 3000);
91 $r = socket_sendto($sends1, $m = "unicast packet", strlen($m), 0, "::1", 3000);
101 $r = socket_sendto($sends1, $m = "mcast packet", strlen($m), 0, $mcastaddr, 3000);
/PHP-7.4/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));
/PHP-7.4/ext/phar/tests/zip/
H A Dphar_convert_phar.phpt19 var_dump(strlen($phar->getStub()));
29 var_dump(strlen($phar->getStub()));
35 var_dump(strlen($phar->getStub()));

Completed in 49 milliseconds

12345678910>>...29