Home
last modified time | relevance | path

Searched refs:length (Results 51 – 75 of 588) sorted by relevance

12345678910>>...24

/PHP-7.4/ext/dom/tests/
H A Ddom007.phpt46 $length = $nots->length;
47 echo "Length: ".$length."\n";
53 for($x=0; $x < $length; $x++) {
64 $length = $ents->length;
65 echo "Length: ".$length."\n";
78 for($x=0; $x < $length; $x++) {
H A DDOMCharacterData_length_error_001.phpt2 Invalid State Error when getting length on DOMCharacterData out of content.
11 print $character_data->length;
H A Dbug67474.phpt12 var_dump($list->length);
14 var_dump($list->length);
/PHP-7.4/ext/hash/tests/
H A Dhash_pbkdf2_basic.phpt6 /* Prototype : string hash_hmac(string $algo, string $data, string $key [, int $length = 0 [, bool…
15 echo "sha1(no length): " . hash_pbkdf2('sha1', 'password', 'salt', 1)."\n";
20 echo "sha256(no length): " . hash_pbkdf2('sha256', 'password', 'salt', 1)."\n";
30 sha1(no length): 0c60c80f961f0e71f3a9b524af6012062fe037a6
35 sha256(no length): 120fb6cffcf8b32c43e7225256c4f837a86548c92ccc35480805987cb70be17b
/PHP-7.4/ext/openssl/tests/
H A Dopenssl_encrypt_ccm.phpt29 // Test setting different IV length and tag length
33 // Test setting invalid tag length
47 Warning: openssl_encrypt(): Setting of IV length for AEAD mode failed in %s on line %d
52 Warning: openssl_encrypt(): Setting of IV length for AEAD mode failed in %s on line %d
/PHP-7.4/pear/
H A Dfetch.php43 $length = (int)(($bytes_transferred/$filesize)*100);
44 …printf("\r[%-100s] %d%% (%2d/%2d kb)", str_repeat("=", $length). ">", $length, ($bytes_transferred…
/PHP-7.4/ext/mbstring/tests/
H A Dmb_strripos_variation5_Bug45923.phpt18 * The character length of $string_ascii and $string_mb is the same,
77 Warning: mb_strripos(): Offset is greater than the length of haystack string in %s on line %d
81 Warning: mb_strripos(): Offset is greater than the length of haystack string in %s on line %d
87 Warning: mb_strripos(): Offset is greater than the length of haystack string in %s on line %d
91 Warning: mb_strripos(): Offset is greater than the length of haystack string in %s on line %d
97 Warning: mb_strripos(): Offset is greater than the length of haystack string in %s on line %d
101 Warning: mb_strripos(): Offset is greater than the length of haystack string in %s on line %d
107 Warning: mb_strripos(): Offset is greater than the length of haystack string in %s on line %d
111 Warning: mb_strripos(): Offset is greater than the length of haystack string in %s on line %d
H A Dbug43841.phpt40 Warning: mb_strrpos(): Offset is greater than the length of haystack string in %s on line %d
45 Warning: mb_strrpos(): Offset is greater than the length of haystack string in %s on line %d
49 Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
55 Warning: mb_strrpos(): Offset is greater than the length of haystack string in %s on line %d
60 Warning: mb_strrpos(): Offset is greater than the length of haystack string in %s on line %d
64 Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
H A Dmb_substr_error2.phpt10 /* Prototype : string mb_substr(string $str, int $start [, int $length [, string $encoding]])
23 $length = 5;
26 var_dump( mb_substr($str, $start, $length, $encoding));
/PHP-7.4/ext/standard/
H A Dquot_print.h22 PHPAPI zend_string *php_quot_print_decode(const unsigned char *str, size_t length, int replace_us_b…
23 PHPAPI zend_string *php_quot_print_encode(const unsigned char *str, size_t length);
/PHP-7.4/ext/iconv/tests/
H A Diconv-charset-length-cve-2007-4840.phpt2 iconv() charset parameter length checks (CVE-2007-4840)
12 Warning: iconv(): Charset parameter exceeds the maximum allowed length of %d characters in %s on li…
15 Warning: iconv(): Charset parameter exceeds the maximum allowed length of %d characters in %s on li…
H A Diconv_strlen-charset-length-cve-2007-4840.phpt2 iconv_strlen() charset parameter length checks (CVE-2007-4840)
11 Warning: iconv_strlen(): Charset parameter exceeds the maximum allowed length of %d characters in %…
H A Diconv_substr_error2.phpt10 /* Prototype : string iconv_substr(string str, int offset, [int length, string charset])
23 $length = 5;
26 var_dump( iconv_substr($str, $start, $length, $encoding));
/PHP-7.4/ext/standard/tests/strings/
H A Dsscanf_basic3.phpt18 list($part, $length, $width, $depth) = sscanf($str, $format);
19 var_dump($part, $length, $width, $depth);
23 $res = sscanf($str, $format, $part, $length, $width, $depth);
24 var_dump($res, $part, $length, $width, $depth);
/PHP-7.4/ext/mysqli/tests/
H A Dmysqli_fetch_assoc_zerofill.phpt39 $length = $meta->length;
40 if ($length > strlen($insert)) {
42 $expected = str_repeat('0', $length - strlen($insert));
49 } else if ($length <= 1) {
/PHP-7.4/ext/hash/
H A Dhash_snefru.c150 if (context->length + len < 32) { in PHP_SNEFRUUpdate()
151 memcpy(&context->buffer[context->length], input, len); in PHP_SNEFRUUpdate()
152 context->length += (unsigned char)len; in PHP_SNEFRUUpdate()
154 size_t i = 0, r = (context->length + len) % 32; in PHP_SNEFRUUpdate()
156 if (context->length) { in PHP_SNEFRUUpdate()
157 i = 32 - context->length; in PHP_SNEFRUUpdate()
158 memcpy(&context->buffer[context->length], input, i); in PHP_SNEFRUUpdate()
168 context->length = (unsigned char)r; in PHP_SNEFRUUpdate()
176 if (context->length) { in PHP_SNEFRUFinal()
H A Dhash.c459 while (length) { in PHP_FUNCTION()
464 if (length > 0 && toread > length) { in PHP_FUNCTION()
465 toread = length; in PHP_FUNCTION()
472 length -= n; in PHP_FUNCTION()
627 zend_long length = 0; in PHP_FUNCTION() local
654 if (length < 0) { in PHP_FUNCTION()
753 if (length < 0) { in PHP_FUNCTION()
777 if (length == 0) { in PHP_FUNCTION()
780 length = length * 2; in PHP_FUNCTION()
783 digest_length = length; in PHP_FUNCTION()
[all …]
/PHP-7.4/ext/standard/tests/general_functions/
H A Descapeshellarg_bug71270.phpt2 Test escapeshellarg() allowed argument length
12 Fatal error: escapeshellarg(): Argument exceeds the allowed length of %d bytes in %s on line %d
H A Descapeshellcmd_bug71270.phpt2 Test escapeshellcmd() allowed argument length
12 Fatal error: escapeshellcmd(): Command exceeds the allowed length of %d bytes in %s on line %d
/PHP-7.4/ext/zlib/tests/
H A Dbug60761.phpt36 // pass == only ONE length for all iterations
37 // (length didn't change during run)
39 // hard to anticipate what 'correct' length should be since
41 // just check that there is only one length
/PHP-7.4/ext/standard/tests/file/
H A Dfgets_variation2.phpt6 Prototype: string fgets ( resource $handle [, int $length] );
27 var_dump( fgets($file_handle) ); // default length
28 var_dump( fgets($file_handle, 10) ); // with specific length
37 var_dump( fgets($file_handle) ); // default length
38 var_dump( fgets($file_handle, 10) ); // with specific length
/PHP-7.4/ext/pdo_mysql/tests/
H A Dpdo_mysql_attr_max_buffer_size.phpt45 printf("[%03d] id = %d, val = %s... (length: %d)\n",
73 [001] id = 1, val = 0123456789... (length: %d)
74 [002] id = 1, val = 0123456789... (length: 1000)
75 [003] id = 1, val = 0123456789... (length: %d)
76 [004] id = 1, val = 0123456789... (length: 2000)
/PHP-7.4/Zend/tests/varSyntax/
H A Dmethod_call_on_string_literal.phpt5 "string"->length();
8 Fatal error: Uncaught Error: Call to a member function length() on string in %s:%d
/PHP-7.4/ext/phar/tests/
H A D006.phpt2 Phar::mapPhar truncated manifest (manifest length truncated)
14 internal corruption of phar "%s" (truncated manifest at manifest length)
/PHP-7.4/ext/mysqlnd/
H A Dmysqlnd_ps_codec.c239 (*row) += length; in ps_fetch_time()
246 length = mnd_sprintf( in ps_fetch_time()
262 ZVAL_STRINGL(zv, value, length); in ps_fetch_time()
290 (*row)+= length; in ps_fetch_date()
299 ZVAL_STRINGL(zv, value, length); in ps_fetch_date()
325 if (length > 4) { in ps_fetch_datetime()
334 (*row)+= length; in ps_fetch_datetime()
341 length = mnd_sprintf( in ps_fetch_datetime()
359 ZVAL_STRINGL(zv, value, length); in ps_fetch_datetime()
376 DBG_INF_FMT("len = %lu", length); in ps_fetch_string()
[all …]

Completed in 43 milliseconds

12345678910>>...24