Home
last modified time | relevance | path

Searched refs:n (Results 101 – 125 of 8943) sorted by relevance

12345678910>>...358

/PHP-8.3/ext/filter/tests/
H A D045.phpt9 echo ($ret === 255 && $a["options"]["min_range"] === "0")?"ok\n":"bug\n";
10 echo ($ret === 255 && $a["options"]["max_range"] === "1024")?"ok\n":"bug\n";
11 echo ($ret === 255 && is_string($a["flags"]) && $a["flags"] == FILTER_FLAG_ALLOW_HEX)?"ok\n":"bug\n
14 echo ($ret === 255 && is_string($a) && $a == FILTER_FLAG_ALLOW_HEX)?"ok\n":"bug\n";
17 … && is_string($a["test"]["filter"]) && $a["test"]["filter"] == FILTER_VALIDATE_INT)?"ok\n":"bug\n";
18 … && is_string($a["test"]["flags"]) && $a["test"]["flags"] == FILTER_FLAG_ALLOW_HEX)?"ok\n":"bug\n";
21 …$ret["test"] === 255 && is_string($a["test"]) && $a["test"] == FILTER_VALIDATE_INT)?"ok\n":"bug\n";
/PHP-8.3/ext/standard/tests/file/
H A Dfpassthru_basic.phpt9 Hello, world\n, abcdefg\tadsdsfdf\n8u2394723947\t$%$%#$%#$%#^#%^\n";
18 echo "*** Test basic functionality of fpassthru() function ***\n";
19 echo "\n-- Before seek operation --\n";
22 echo "\n-- After seeking position to 0 --\n";
26 echo "\n-- After seeking position to 3 --\n";
30 echo "\n-- After seeking position to 13 --\n";
34 echo "\n-- After seeking position to 14 --\n";
38 echo "\n-- After seeking position to 23 --\n";
42 echo "\n-- After seeking position to 34 --\n";
46 echo "\n-- After seeking position to 1000 --\n";
[all …]
/PHP-8.3/ext/standard/tests/serialize/
H A D001.phpt44 echo serialize(NULL)."\n";
47 echo serialize(1)."\n";
48 echo serialize(0)."\n";
49 echo serialize(-1)."\n";
53 echo serialize(1.0)."\n";
54 echo serialize(0.0)."\n";
55 echo serialize(-1.0)."\n";
57 echo serialize("hallo")."\n";
62 echo "$data\n";
68 echo "$data\n";
[all …]
/PHP-8.3/Zend/tests/
H A Dbug32290.phpt12 echo __METHOD__ . "($i)\n";
18 echo __METHOD__ . "($i)\n";
24 echo __METHOD__ . "($i)\n";
30 echo __METHOD__ . "($i)\n";
36 echo __METHOD__ . "($i)\n";
45 echo __METHOD__ . "($i)\n";
85 echo "===A===\n";
87 echo "\n===B===\n";
89 echo "\n===C===\n";
91 echo "\n===D===\n";
[all …]
H A Dclosure_009.phpt7 static $n = 0;
8 $n++;
9 $a = $n.':'.$a;
10 echo $x.':'.$a."\n";
13 static $n = 0;
14 $n++;
15 $a = $n.':'.$a;
16 echo $x.':'.$a."\n";
/PHP-8.3/ext/hash/tests/
H A Dripemd128.phpt5 echo hash('ripemd128', '') . "\n";
6 echo hash('ripemd128', 'a') . "\n";
7 echo hash('ripemd128', 'abc') . "\n";
8 echo hash('ripemd128', 'message digest') . "\n";
9 echo hash('ripemd128', 'abcdefghijklmnopqrstuvwxyz') . "\n";
10 echo hash('ripemd128', 'abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq') . "\n";
11 echo hash('ripemd128', 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789') . "\n";
12 …md128', '12345678901234567890123456789012345678901234567890123456789012345678901234567890') . "\n";
13 echo hash('ripemd128', str_repeat('a', 1000000)) . "\n";
H A Dripemd160.phpt5 echo hash('ripemd160', '') . "\n";
6 echo hash('ripemd160', 'a') . "\n";
7 echo hash('ripemd160', 'abc') . "\n";
8 echo hash('ripemd160', 'message digest') . "\n";
9 echo hash('ripemd160', 'abcdefghijklmnopqrstuvwxyz') . "\n";
10 echo hash('ripemd160', 'abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq') . "\n";
11 echo hash('ripemd160', 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789') . "\n";
12 …md160', '12345678901234567890123456789012345678901234567890123456789012345678901234567890') . "\n";
13 echo hash('ripemd160', str_repeat('a', 1000000)) . "\n";
H A Dripemd256.phpt5 echo hash('ripemd256', '') . "\n";
6 echo hash('ripemd256', 'a') . "\n";
7 echo hash('ripemd256', 'abc') . "\n";
8 echo hash('ripemd256', 'message digest') . "\n";
9 echo hash('ripemd256', 'abcdefghijklmnopqrstuvwxyz') . "\n";
10 echo hash('ripemd256', 'abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq') . "\n";
11 echo hash('ripemd256', 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789') . "\n";
12 …md256', '12345678901234567890123456789012345678901234567890123456789012345678901234567890') . "\n";
13 echo hash('ripemd256', str_repeat('a', 1000000)) . "\n";
H A Dripemd320.phpt5 echo hash('ripemd320', '') . "\n";
6 echo hash('ripemd320', 'a') . "\n";
7 echo hash('ripemd320', 'abc') . "\n";
8 echo hash('ripemd320', 'message digest') . "\n";
9 echo hash('ripemd320', 'abcdefghijklmnopqrstuvwxyz') . "\n";
10 echo hash('ripemd320', 'abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq') . "\n";
11 echo hash('ripemd320', 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789') . "\n";
12 …md320', '12345678901234567890123456789012345678901234567890123456789012345678901234567890') . "\n";
13 echo hash('ripemd320', str_repeat('a', 1000000)) . "\n";
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 …]
/PHP-8.3/ext/mbstring/tests/
H A Dmb_http_output.phpt13 ($r === TRUE) ? print "OK_ASCII_SET\n" : print "NG_ASCII_SET\n";
15 print "$enc\n";
19 ($r === TRUE) ? print "OK_SJIS_SET\n" : print "NG_SJIS_SET\n";
21 print "$enc\n";
25 ($r === TRUE) ? print "OK_JIS_SET\n" : print "NG_JIS_SET\n";
27 print "$enc\n";
31 ($r === TRUE) ? print "OK_UTF-8_SET\n" : print "NG_UTF-8_SET\n";
33 print "$enc\n";
37 ($r === TRUE) ? print "OK_EUC-JP_SET\n" : print "NG_EUC-JP_SET\n";
39 print "$enc\n";
[all …]
/PHP-8.3/ext/date/tests/
H A Dbug33415-2.phpt13 print "wanted=Wednesday 00:00:00\n\n";
21 print "wanted=Thursday 00:30:00\n\n";
30 print "wanted=Thursday 00:00:00\n\n";
39 print "wanted=Saturday 00:00:00\n\n";
47 print "wanted=Thursday 03:00:00\n\n";
56 print "wanted=Sunday 00:00:00\n\n";
64 print "wanted=Sunday 00:30:00\n\n";
73 print "wanted=Tuesday 00:00:00\n\n";
82 print "wanted=Monday 00:00:00\n\n";
90 print "wanted=Sunday 02:00:00\n\n";
[all …]
/PHP-8.3/tests/lang/
H A DpassByReference_010.phpt11 echo "\n\n---> Pass constant assignment by reference:\n";
16 echo "Exception: " . $e->getMessage() ."\n";
19 echo "\n\n---> Pass variable assignment by reference:\n";
26 echo "Exception: " . $e->getMessage() ."\n";
29 echo "\n\n---> Pass reference assignment by reference:\n";
36 echo "Exception: " . $e->getMessage() ."\n";
39 echo "\n\n---> Pass concat assignment by reference:\n";
47 echo "Exception: " . $e->getMessage() ."\n";
/PHP-8.3/ext/standard/tests/strings/
H A Dprintf_basic9.phpt23 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";
36 echo "\n-- Calling printf() with two arguments --\n";
38 echo "\n";
41 echo "\n";
44 echo "\n-- Calling printf() with three arguments --\n";
46 echo "\n";
[all …]
H A Dprintf_basic2.phpt5 echo "*** Testing printf() : basic functionality - using integer format ***\n";
17 echo "\n-- Calling printf() with no arguments --\n";
19 echo "\n";
22 echo "\n-- Calling printf() with one arguments--\n";
24 echo "\n";
27 echo "\n-- Calling printf() with two arguments--\n";
29 echo "\n";
32 echo "\n-- Calling printf() with three arguments--\n";
34 echo "\n";
H A Dprintf_basic5.phpt5 echo "*** Testing printf() : basic functionality - using char format ***\n";
17 echo "\n-- Calling printf() with no arguments --\n";
19 echo "\n";
22 echo "\n-- Calling printf() with one arguments --\n";
24 echo "\n";
27 echo "\n-- Calling printf() with two arguments --\n";
29 echo "\n";
32 echo "\n-- Calling printf() with three arguments --\n";
34 echo "\n";
H A Dprintf_basic4.phpt5 echo "*** Testing printf() : basic functionality - using bool format ***\n";
17 echo "\n-- Calling printf() with no arguments --\n";
19 echo "\n";
22 echo "\n-- Calling printf() with one arguments--\n";
24 echo "\n";
27 echo "\n-- Calling printf() with two arguments--\n";
29 echo "\n";
32 echo "\n-- Calling printf() with three arguments--\n";
34 echo "\n";
/PHP-8.3/ext/spl/tests/
H A Dheap_002.phpt11 echo "Exception: ".$e->getMessage()."\n";
21 echo $h->count()."\n";
22 echo $h->extract()."\n";
23 echo $h->extract()."\n";
24 echo $h->extract()."\n";
25 echo $h->extract()."\n";
26 echo $h->extract()."\n";
27 echo $h->count()."\n";
29 echo "--\n";
35 echo $h->extract()."\n";
/PHP-8.3/ext/pdo_oci/tests/
H A Dpdo_oci_stream_1.phpt40 echo "Test 1\n";
47 echo 'Read '.stream_get_contents($r['data'], 1, 1)."$\n"; // b
48 echo 'Read '.stream_get_contents($r['data'], 2, 1)."$\n"; // cd
49 echo 'Read '.stream_get_contents($r['data'], 2, 0)."$\n"; // ab
53 echo 'Read '.stream_get_contents($r['data'], 1, 20)."$\n"; // u
54 echo 'Read '.stream_get_contents($r['data'], 1, 25)."$\n"; // z
55 echo 'Read '.stream_get_contents($r['data'], 1, 26)."$\n"; // <blank>
56 echo 'Read '.stream_get_contents($r['data'], 1, 0)."$\n"; // a
58 echo "\nTest 2\n";
68 echo 'Read '.strlen(stream_get_contents($r['data'], 0,0))."\n"; // 0
[all …]
/PHP-8.3/tests/classes/
H A Dunset_properties.phpt76 echo "\n";
78 echo "\n";
81 echo "\n";
83 echo "\n";
85 echo "\n";
87 echo "\n";
89 echo "\n";
92 echo "\n";
96 echo "\n\n";
111 echo "\n\n";
[all …]
/PHP-8.3/ext/calendar/tests/
H A Dgregoriantojd.phpt7 echo gregoriantojd( 0, 0, 0). "\n";
8 echo gregoriantojd( 1, 1, 1582). "\n";
9 echo gregoriantojd(10, 5, 1582). "\n";
10 echo gregoriantojd( 1, 1, 1970). "\n";
11 echo gregoriantojd( 1, 1, 2999). "\n";
12 echo gregoriantojd( 1, 1, -4714). "\n";
13 echo gregoriantojd( 11, 24, -4714). "\n";
/PHP-8.3/ext/standard/tests/array/
H A Darray_shift_variation6.phpt11 echo "*** Testing array_shift() : usage variations ***\n";
13 echo "\n-- Variable is referenced array --\n";
19 echo "\n\$original_array:\n";
21 echo "\n\$copied_array:\n";
24 echo "\n-- Element is referenced array --\n";
28 echo "\n\$new_array:\n";
30 echo "\n\$copied_array\n";
/PHP-8.3/ext/ffi/tests/
H A D027.phpt13 echo "ok\n";
15 echo get_class($e) . ": " . $e->getMessage()."\n";
19 echo "ok\n";
21 echo get_class($e) . ": " . $e->getMessage()."\n";
25 echo "ok\n";
31 echo "ok\n";
52 echo "ok\n";
58 echo "ok\n";
64 echo "ok\n";
70 echo "ok\n";
[all …]
/PHP-8.3/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-8.3/ext/opcache/jit/dynasm/
H A Ddasm_x86.h233 n = *p++; pl = D->lglabels + n; in dasm_put()
242 n = *pl; in dasm_put()
244 b[pos] = -n; in dasm_put()
262 while (n > 0) { int *pb = DASM_POS2PTR(D, n); n = *pb; *pb = pos; } in dasm_put()
274 n = *p; CK(n < D->maxsection, RANGE_SEC); D->section = &D->sections[n]; in dasm_put()
308 while (n > 0) { int *pb = DASM_POS2PTR(D, n); n = *pb; *pb = -idx; } in dasm_link()
443 n &= 7; in dasm_encode()
451 n &= 7; in dasm_encode()
460 b++; n = (int)(ptrdiff_t)D->globals[-n]; in dasm_encode()
474 if (n < 0) { dasma((ptrdiff_t)D->globals[-n]); break; } in dasm_encode()
[all …]

Completed in 33 milliseconds

12345678910>>...358