Home
last modified time | relevance | path

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

12345678910>>...338

/PHP-7.4/ext/mbstring/libmbfl/filters/
H A Dmbfilter_uuencode.c69 int n; in mbfl_filt_conv_uudec() local
103 n = UUDEC(c); in mbfl_filt_conv_uudec()
104 filter->cache = n << 24; in mbfl_filt_conv_uudec()
109 n = UUDEC(c); in mbfl_filt_conv_uudec()
115 n = UUDEC(c); in mbfl_filt_conv_uudec()
121 n = UUDEC(c); in mbfl_filt_conv_uudec()
122 filter->cache |= n; in mbfl_filt_conv_uudec()
133 if (n-- > 0) in mbfl_filt_conv_uudec()
135 if (n-- > 0) in mbfl_filt_conv_uudec()
137 if (n-- > 0) in mbfl_filt_conv_uudec()
[all …]
H A Dmbfilter_utf7imap.c71 int s, n; in mbfl_filt_conv_utf7imap_wchar() local
73 n = -1; in mbfl_filt_conv_utf7imap_wchar()
82 n = 62; in mbfl_filt_conv_utf7imap_wchar()
84 n = 63; in mbfl_filt_conv_utf7imap_wchar()
86 if (n < 0 || n > 63) { in mbfl_filt_conv_utf7imap_wchar()
130 n = (n & 0x3) << 14; in mbfl_filt_conv_utf7imap_wchar()
162 n = (n & 0xf) << 12; in mbfl_filt_conv_utf7imap_wchar()
238 int n, s; in mbfl_filt_conv_wchar_utf7imap() local
240 n = 0; in mbfl_filt_conv_wchar_utf7imap()
242 n = 1; in mbfl_filt_conv_wchar_utf7imap()
[all …]
/PHP-7.4/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";
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-7.4/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-7.4/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 …]
/PHP-7.4/ext/standard/tests/math/
H A Dlcg_value_basic.phpt6 echo "MATHS test script started\n";
9 echo "\n lcg_value tests...\n";
19 echo "FAILED\n";
21 echo "PASSED\n";
24 echo "\n lcg_value error cases..\n";
28 echo "PASSED\n";
30 echo "FAILED\n";
35 echo "PASSED\n";
37 echo "FAILED\n";
40 echo "MATHS test script completed\n";
/PHP-7.4/ext/intl/tests/
H A Dcalendar_get_getActualMaximum_Minumum_error2.phpt23 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
28 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
33 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
39 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
44 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
49 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
55 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
60 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
65 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
71 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
[all …]
/PHP-7.4/ext/pdo_oci/tests/
H A Dpdo_oci_stream_1.phpt38 echo "Test 1\n";
45 echo 'Read '.stream_get_contents($r['data'], 1, 1)."$\n"; // b
46 echo 'Read '.stream_get_contents($r['data'], 2, 1)."$\n"; // cd
47 echo 'Read '.stream_get_contents($r['data'], 2, 0)."$\n"; // ab
51 echo 'Read '.stream_get_contents($r['data'], 1, 20)."$\n"; // u
52 echo 'Read '.stream_get_contents($r['data'], 1, 25)."$\n"; // z
53 echo 'Read '.stream_get_contents($r['data'], 1, 26)."$\n"; // <blank>
54 echo 'Read '.stream_get_contents($r['data'], 1, 0)."$\n"; // a
56 echo "\nTest 2\n";
66 echo 'Read '.strlen(stream_get_contents($r['data'], 0,0))."\n"; // 0
[all …]
/PHP-7.4/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-7.4/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";
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-7.4/ext/standard/tests/strings/
H A Dprint_basic.phpt14 echo "\n-- Iteration 1 --\n";
17 echo "\n-- Iteration 2 --\n";
20 echo "\n-- Iteration 3 --\n";
25 echo "\n-- Iteration 4 --\n";
28 echo "\n-- Iteration 5 --\n";
35 echo "\n-- Iteration 6 --\n";
41 echo "\n-- Iteration 7 --\n";
45 echo "\n-- Iteration 8 --\n";
49 echo "\n-- Iteration 9 --\n";
52 echo "\n-- Iteration 10 --\n";
[all …]
H A Dprintf_basic9.phpt28 echo "\n-- Calling printf() with no arguments --\n";
30 echo "\n";
33 echo "\n-- Calling printf() with one arguments --\n";
35 echo "\n";
38 echo "\n";
41 echo "\n-- Calling printf() with two arguments --\n";
43 echo "\n";
46 echo "\n";
49 echo "\n-- Calling printf() with three arguments --\n";
51 echo "\n";
[all …]
/PHP-7.4/ext/standard/tests/file/
H A Dfpassthru_basic.phpt15 Hello, world\n, abcdefg\tadsdsfdf\n8u2394723947\t$%$%#$%#$%#^#%^\n";
24 echo "*** Test basic functionality of fpassthru() function ***\n";
25 echo "\n-- Before seek operation --\n";
28 echo "\n-- After seeking position to 0 --\n";
32 echo "\n-- After seeking position to 3 --\n";
36 echo "\n-- After seeking position to 13 --\n";
40 echo "\n-- After seeking position to 14 --\n";
44 echo "\n-- After seeking position to 23 --\n";
48 echo "\n-- After seeking position to 34 --\n";
52 echo "\n-- After seeking position to 1000 --\n";
[all …]
/PHP-7.4/ext/ffi/tests/
H A D027.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";
29 echo "ok\n";
50 echo "ok\n";
56 echo "ok\n";
62 echo "ok\n";
68 echo "ok\n";
[all …]
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-7.4/ext/json/tests/
H A Dbug41067.phpt9 print bin2hex($single_barline) . "\n";
10 // print $single_barline . "\n\n";
12 print $json . "\n\n";
14 // print $json_decoded[0] . "\n";
15 print bin2hex($json_decoded[0]) . "\n";
16 print "END\n";
/PHP-7.4/Zend/tests/try/
H A Dtry_finally_020.phpt6 public $n = 0;
7 function __construct($n) {
8 $this->n = $n;
11 echo "destruct" . $this->n . "\n";
26 echo "finally1\n";
30 echo "catch\n";
32 echo "finally2\n";
/PHP-7.4/ext/dba/tests/
H A Ddba015.phpt14 echo "database handler: $handler\n";
16 echo "Test 1\n";
19 echo dba_fetch("key1", $db_file1), "\n";
22 echo "Test 2\n";
25 echo "resources are the same\n";
27 echo "resources are different\n";
33 echo dba_fetch("key1", $db_file2), "\n";
34 echo dba_fetch("key2", $db_file2), "\n";
38 echo dba_fetch("key1", $db_file1), "\n";
39 echo dba_fetch("key2", $db_file1), "\n";
[all …]
/PHP-7.4/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-7.4/ext/standard/tests/array/
H A Dreset_basic.phpt14 echo "*** Testing reset() : basic functionality ***\n";
18 echo "\n-- Initial Position: --\n";
19 echo key($array) . " => " . current($array) . "\n";
21 echo "\n-- Call to next() --\n";
24 echo "\n-- Current Position: --\n";
25 echo key($array) . " => " . current($array) . "\n";
27 echo "\n-- Call to reset() --\n";
/PHP-7.4/ext/reflection/tests/
H A D009.phpt18 echo "--getName--\n";
20 echo "--isInternal--\n";
22 echo "--isUserDefined--\n";
24 echo "--getFilename--\n";
26 echo "--getStartline--\n";
28 echo "--getEndline--\n";
30 echo "--getDocComment--\n";
34 echo "--invoke--\n";
36 echo "--invokeArgs--\n";
40 echo "--getParameters--\n";
[all …]
H A D025.phpt18 echo "--getName--\n";
20 echo "--isInternal--\n";
22 echo "--isUserDefined--\n";
24 echo "--getFilename--\n";
26 echo "--getStartline--\n";
28 echo "--getEndline--\n";
30 echo "--getDocComment--\n";
34 echo "--invoke--\n";
36 echo "--invokeArgs--\n";
40 echo "--getParameters--\n";
[all …]
/PHP-7.4/ext/zip/tests/
H A Doo_extract.phpt14 echo "open failed.\n";
20 echo "failed. mkdir\n";
24 echo "failed. mkdir foobar\n";
28 echo "failed. extract foobar/baz\n";
34 echo "failed. bar file\n";
36 echo file_get_contents($dirname . '__oo_extract_tmp/bar') . "\n";
40 echo "failed. foo file\n";
42 echo file_get_contents($dirname . '__oo_extract_tmp/foo') . "\n";
49 echo "failed. extract bar file\n";
57 echo "failed. extract bar file\n";
[all …]

Completed in 34 milliseconds

12345678910>>...338