Home
last modified time | relevance | path

Searched refs:n (Results 126 – 150 of 8925) sorted by relevance

12345678910>>...357

/php-src/ext/hash/tests/
H A Dgost.phpt5 echo hash('gost', ''), "\n";
6 echo hash('gost', 'The quick brown fox jumps over the lazy dog'), "\n";
7 echo hash('gost', 'The quick brown fox jumps over the lazy cog'), "\n";
8 echo hash('gost', str_repeat('a', 31)), "\n";
9 echo hash('gost', str_repeat('a', 32)), "\n";
10 echo hash('gost', str_repeat('a', 33)), "\n";
12 echo hash('gost-crypto', ''), "\n";
13 echo hash('gost-crypto', 'The quick brown fox jumps over the lazy dog'), "\n";
15 echo hash('gost-crypto', str_repeat('a', 31)), "\n";
16 echo hash('gost-crypto', str_repeat('a', 32)), "\n";
[all …]
H A Dhash_hmac_file_basic.phpt7 echo "*** Testing hash_hmac_file() : basic functionality ***\n";
31 echo "gost: " . hash_hmac_file('gost', $file, $key) . "\n";
33 echo "md2: " . hash_hmac_file('md2', $file, $key) . "\n";
34 echo "md4: " . hash_hmac_file('md4', $file, $key) . "\n";
35 echo "md5: " . hash_hmac_file('md5', $file, $key) . "\n";
36 echo "ripemd128: " . hash_hmac_file('ripemd128', $file, $key) . "\n";
40 echo "sha1: " . hash_hmac_file('sha1', $file, $key) . "\n";
41 echo "sha256: " . hash_hmac_file('sha256', $file, $key) . "\n";
42 echo "sha384: " . hash_hmac_file('sha384', $file, $key) . "\n";
43 echo "sha512: " . hash_hmac_file('sha512', $file, $key) . "\n";
[all …]
/php-src/ext/spl/tests/
H A Dbug45622b.phpt6 function __get($n) { echo "In " . __METHOD__ . "!\n"; }
7 function __set($n, $v) { echo "In " . __METHOD__ . "!\n"; }
8 function __isset($n) { echo "In " . __METHOD__ . "!\n"; }
9 function __unset($n) { echo "In " . __METHOD__ . "!\n"; }
13 echo "Doesn't trigger __get.\n";
16 echo "Doesn't trigger __set.\n";
19 echo "Doesn't trigger __unset.\n";
22 echo "Shouldn't trigger __isset.\n";
/php-src/ext/json/tests/
H A Dbug41067.phpt7 print bin2hex($single_barline) . "\n";
8 // print $single_barline . "\n\n";
10 print $json . "\n\n";
12 // print $json_decoded[0] . "\n";
13 print bin2hex($json_decoded[0]) . "\n";
14 print "END\n";
/php-src/ext/opcache/jit/ir/dynasm/
H A Ddasm_mips.h193 n = (ins & 255); CK(n < D->maxsection, RANGE_SEC); in dasm_put()
199 n = (ins & 2047) - 10; pl = D->lglabels + n; in dasm_put()
208 n = *pl; in dasm_put()
210 b[pos] = -n; in dasm_put()
224 while (n > 0) { int *pb = DASM_POS2PTR(D, n); n = *pb; *pb = pos; in dasm_put()
240 b[pos++] = n; in dasm_put()
274 while (n > 0) { int *pb = DASM_POS2PTR(D, n); n = *pb; *pb = -idx; } in dasm_link()
354 n = *DASM_POS2PTR(D, n); in dasm_encode()
356 n = (n + (int)(size_t)base) & 0x0fffffff; in dasm_encode()
358 n = n - (int)((char *)cp - base); in dasm_encode()
[all …]
H A Ddasm_ppc.h193 n = (ins & 255); CK(n < D->maxsection, RANGE_SEC); in dasm_put()
199 n = (ins & 2047) - 10; pl = D->lglabels + n; in dasm_put()
208 n = *pl; in dasm_put()
210 b[pos] = -n; in dasm_put()
224 while (n > 0) { int *pb = DASM_POS2PTR(D, n); n = *pb; *pb = pos; in dasm_put()
240 b[pos++] = n; in dasm_put()
244 b[pos++] = n; in dasm_put()
278 while (n > 0) { int *pb = DASM_POS2PTR(D, n); n = *pb; *pb = -idx; } in dasm_link()
351 if (n < 0) { in dasm_encode()
358 n = *DASM_POS2PTR(D, n) - (int)((char *)cp - base); in dasm_encode()
[all …]
H A Ddasm_ppc.lua1670 local vs = parse_vs(params[n]); n = n + 1; rs = rs - 5
1674 local vs = parse_vs(params[n]); n = n + 1
1685 op = op + parse_disp(params[n]); n = n + 1
1687 op = op + parse_u5disp(params[n], 1); n = n + 1
1689 op = op + parse_u5disp(params[n], 2); n = n + 1
1691 op = op + parse_u5disp(params[n], 3); n = n + 1
1717 op = op + parse_cr(params[n]); n = n + 1
1721 op = op + parse_shiftmask(params[n], true); n = n + 1
1723 op = op + parse_shiftmask(params[n], false); n = n + 1
1728 n = n + 1
[all …]
/php-src/ext/date/tests/
H A DDateTime_extends_basic1.phpt9 echo "*** Testing basic DateTime inheritance() ***\n";
22 echo "\n-- Create an instance of DateTimeExt --\n";
25 echo "\n-- Invoke __toString --\n";
26 echo $d . "\n";
28 echo "\n -- modify date and time --\n";
32 echo "\n-- Invoke __toString again --\n";
33 echo $d . "\n";
/php-src/ext/dba/tests/
H A Ddba_db4_018.phpt18 echo "database handler: $handler\n";
20 echo "Test 1\n";
23 echo dba_fetch("key1", $db_file1), "\n";
26 echo "Test 2\n";
29 echo "resources are the same\n";
31 echo "resources are different\n";
37 echo dba_fetch("key1", $db_file2), "\n";
38 echo dba_fetch("key2", $db_file2), "\n";
42 echo dba_fetch("key1", $db_file1), "\n";
43 echo dba_fetch("key2", $db_file1), "\n";
[all …]
H A Ddba015.phpt18 echo "database handler: $handler\n";
20 echo "Test 1\n";
23 echo dba_fetch("key1", $db_file1), "\n";
26 echo "Test 2\n";
29 echo "resources are the same\n";
31 echo "resources are different\n";
37 echo dba_fetch("key1", $db_file2), "\n";
38 echo dba_fetch("key2", $db_file2), "\n";
42 echo dba_fetch("key1", $db_file1), "\n";
43 echo dba_fetch("key2", $db_file1), "\n";
[all …]
/php-src/ext/standard/tests/strings/
H A Dprintf_error.phpt8 echo "\n-- Testing printf() function with Zero arguments --\n";
12 echo $e->getMessage(), "\n";
15 echo "\n-- Testing printf() function with less than expected no. of arguments --\n";
22 echo "\n-- Call printf with one argument less than expected --\n";
26 echo $e->getMessage(), "\n";
31 echo $e->getMessage(), "\n";
36 echo $e->getMessage(), "\n";
39 echo "\n-- Call printf with two argument less than expected --\n";
43 echo $e->getMessage(), "\n";
48 echo $e->getMessage(), "\n";
[all …]
H A Dsprintf_variation52.phpt5 echo "*** Testing sprintf() : with typical format strings ***\n";
11 echo"\n-- Testing for '%%%.2f' as the format parameter --\n";
14 echo"\n-- Testing for '%%' as the format parameter --\n";
17 echo"\n-- Testing for precision value more than maximum --\n";
20 echo"\n-- Testing for invalid width(-15) specifier --\n";
24 echo $e->getMessage(), "\n";
27 echo"\n-- Testing for '%X' as the format parameter --\n";
30 echo"\n-- Testing for multiple format parameters --\n";
31 var_dump(sprintf("%d %s %d\n", $tempnum, $tempstring, $tempnum));
33 echo"\n-- Testing for excess of mixed type arguments --\n";
H A Dexplode_variation6.phpt6 echo "*** Testing explode() function: misc tests ***\n";
10 echo "\n-- positive limit with null separator --\n";
13 echo "\n-- negative limit (since PHP 5.1) with null separator --\n";
16 echo "\n-- unknown string --\n";
19 echo "\n-- limit = 0 --\n";
22 echo "\n-- limit = -1 --\n";
25 echo "\n-- large limit = -100 --\n";
H A Dprintf_basic6.phpt5 echo "*** Testing printf() : basic functionality - using exponential format ***\n";
16 echo "\n-- Calling printf() with no arguments --\n";
18 echo "\n";
21 echo "\n-- Calling printf() with one argument --\n";
23 echo "\n";
26 echo "\n-- Calling printf() with two arguments --\n";
28 echo "\n";
31 echo "\n-- Calling printf() with three arguments --\n";
33 echo "\n";
H A Dprintf_basic7.phpt11 echo "*** Testing printf() : basic functionality - using unsigned format ***\n";
23 echo "\n-- Calling printf() with no arguments --\n";
25 echo "\n";
28 echo "\n-- Calling printf() with one arguments --\n";
30 echo "\n";
33 echo "\n-- Calling printf() with two arguments --\n";
35 echo "\n";
38 echo "\n-- Calling printf() with three arguments --\n";
40 echo "\n";
H A Dprintf_basic8.phpt11 echo "*** Testing printf() : basic functionality - using octal format ***\n";
22 echo "\n-- Calling printf() with no arguments --\n";
24 echo "\n";
27 echo "\n-- Calling printf() with one arguments --\n";
29 echo "\n";
32 echo "\n-- Calling printf() with two arguments --\n";
34 echo "\n";
37 echo "\n-- Calling printf() with three arguments --\n";
39 echo "\n";
/php-src/ext/intl/tests/
H A Dcalendar_before_after_error.phpt14 echo "error: $errno, $errstr\n";
21 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
26 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
32 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
37 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
43 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
48 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
54 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
59 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
/php-src/ext/standard/tests/general_functions/
H A Dget_defined_vars_basic.phpt5 echo "Simple testcase for get_defined_vars() function\n\n";
8 echo "\n-- Function f1() called --\n";
12 echo "TEST FAILED\n";
15 echo "\n-- ..define some local variables --\n";
26 echo "\n -- Function f2() called --\n";
30 echo "TEST FAILED\n";
33 echo "\n-- ...define some variables --\n";
41 echo "\n-- ...define some more variables --\n";
49 echo "\n-- Get variables at global scope --\n";
53 echo "TEST FAILED - Global variables missing at global scope\n";
/php-src/ext/standard/tests/http/
H A Dbug47021.phpt15 echo "Type='$message'\n";
18 echo "Size=$bytes_max\n";
41 . "Transfer-Encoding:{$spaces}Chunked{$trailing}\r\n\r\n"
42 . "5\nHello\n0\n",
45 . "Content-Length:{$spaces}5{$trailing}\r\n\r\n"
51 echo "\n";
53 echo "\n";
61 echo "\n";
64 echo "\n";
67 echo "\n";
[all …]
/php-src/ext/bcmath/tests/
H A Dbccomp.phpt9 echo bccomp("-1", "5", 4), "\n";
10 echo bccomp("1928372132132819737213", "8728932001983192837219398127471"), "\n";
11 echo bccomp("1.00000000000000000001", "1", 2), "\n";
12 echo bccomp("97321", "2321"), "\n";
13 echo bccomp("0", "14"), "\n";
14 echo bccomp("1", "0"), "\n";
15 echo bccomp("0.000", "0", 3), "\n";
H A Dbccomp_variation002.phpt9 echo bccomp("-2", "-2") . "\n";
10 echo bccomp("-2", "2", "1") . "\n";
11 echo bccomp("-2.29", "-2.3", "2") . "\n";
12 echo bccomp("-2.29", "2.3", "2") . "\n";
13 echo bccomp("2.29", "-2.3", "2") . "\n";
14 echo bccomp("-2.29", "-2.3", "1") . "\n";
15 echo bccomp("-2.29", "0", "1") . "\n";
/php-src/ext/dom/tests/
H A Ddomelement.phpt12 echo "Error while parsing the document\n";
17 echo "Tag Name: ".$node->tagName."\n";
21 echo "Chapter: ".$node->getAttribute('num')."\n";
24 echo "Chapter: ".$node->getAttribute('num')."\n";
35 echo "\n-- xml:lang --\n";
50 echo "Language: ".$lang->value."\n";
52 echo "\n-- Elements --\n";
54 echo "Row Count: ".$rows->length."\n";
63 echo "myelements Count: ".$mylen."\n";
65 echo "\n-- IDs --\n";
[all …]
/php-src/ext/mbstring/tests/
H A Dmb_convert_encoding_stateful.phpt10 echo "ISO-2022-JP empty segment\n";
11 echo bin2hex(mb_convert_encoding(pack("H*", "1b24401b24402121"), "UTF-8", "ISO-2022-JP")), "\n";
12 echo bin2hex(mb_convert_encoding(pack("H*", "1b24421b24422121"), "UTF-8", "ISO-2022-JP")), "\n";
13 echo bin2hex(mb_convert_encoding(pack("H*", "1b28421b284261626364"), "UTF-8", "ISO-2022-JP")), "\n";
14 echo bin2hex(mb_convert_encoding(pack("H*", "1b284a1b284a61626364"), "UTF-8", "ISO-2022-JP")), "\n";
15 echo bin2hex(mb_convert_encoding(pack("H*", "1b24401b284261626364"), "UTF-8", "ISO-2022-JP")), "\n";
16 echo bin2hex(mb_convert_encoding(pack("H*", "1b24401b284a61626364"), "UTF-8", "ISO-2022-JP")), "\n";
17 echo bin2hex(mb_convert_encoding(pack("H*", "1b24421b284261626364"), "UTF-8", "ISO-2022-JP")), "\n";
19 echo "ISO-2022-KR empty segment\n";
21 echo "HZ empty segment\n";
[all …]
/php-src/ext/ffi/tests/
H A D015.phpt11 echo "ok\n";
13 echo get_class($e) . ": " . $e->getMessage()."\n";
17 echo "ok\n";
19 echo get_class($e) . ": " . $e->getMessage()."\n";
23 echo "ok\n";
25 echo get_class($e) . ": " . $e->getMessage()."\n";
29 echo "ok\n";
35 echo "ok\n";
41 echo "ok\n";
47 echo "ok\n";
[all …]
/php-src/tests/lang/
H A Dengine_assignExecutionOrder_001.phpt7 echo "in f()\n";
12 echo "in g()\n";
17 echo "\n\nOrder with local assignment:\n";
21 echo "\n\nOrder with array assignment:\n";
25 echo "\n\nOrder with object property assignment:\n";
30 echo "\n\nOrder with nested object property assignment:\n";
37 echo "\n\nOrder with dim_list property assignment:\n";
48 echo "\n\nOrder with static property assignment:\n";
52 echo "\n\nOrder with static array property assignment:\n";
56 echo "\n\nOrder with indexed string assignment:\n";
[all …]

Completed in 53 milliseconds

12345678910>>...357