Home
last modified time | relevance | path

Searched refs:n (Results 76 – 100 of 7776) sorted by relevance

12345678910>>...312

/PHP-5.6/ext/standard/tests/file/
H A D001-win32.phpt16 echo "test.file exists\n";
18 echo "test.file does not exist\n";
23 echo "test.file exists\n";
25 echo "test.file does not exist\n";
28 echo "test.file is a symlink\n";
33 echo "test.file exists\n";
35 echo "test.file does not exist\n";
48 echo "test.file is writeable\n";
53 echo "test.file is readable\n";
63 echo "../file is a directory\n";
[all …]
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-5.6/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..spurious args get ignored\n";
28 echo "FAILED\n";
30 echo "PASSED\n";
35 echo "FAILED\n";
37 echo "PASSED\n";
40 echo "MATHS test script completed\n";
/PHP-5.6/ext/spl/tests/
H A Dheap_001.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";
36 echo $h->extract()."\n";
[all …]
/PHP-5.6/ext/standard/tests/strings/
H A Dbug53021.phpt6 echo "double quotes variations:", "\n";
7 echo html_entity_decode(""", ENT_NOQUOTES, 'UTF-8'), "\n";
8 echo html_entity_decode(""", ENT_NOQUOTES, 'UTF-8'), "\n";
9 echo html_entity_decode(""", ENT_QUOTES, 'UTF-8'), "\n";
10 echo html_entity_decode(""", ENT_QUOTES, 'UTF-8'), "\n";
11 echo html_entity_decode(""", ENT_COMPAT, 'UTF-8'), "\n";
12 echo html_entity_decode(""", ENT_COMPAT, 'UTF-8'), "\n";
14 echo "\nsingle quotes variations:", "\n";
15 echo html_entity_decode("'", ENT_NOQUOTES, 'UTF-8'), "\n";
16 echo html_entity_decode("'", ENT_QUOTES, 'UTF-8'), "\n";
[all …]
H A Dnl2br_variation3.phpt14 echo "*** Testing nl2br() : usage variations ***\n";
15 //heredoc string containing new line chars(\n, \r and combinations of \r & \n) and new lines
17 \n
19 \r\n
20 \nnn\n\n\nn
22 \n\r\n\r\r\n\nr\rn
28 This is \tes\t for \n \new lines
29 like \n \r\n \r \n\r and etc
50 n<br />
63 n"
H A Dprintf_basic3.phpt27 echo "\n-- Calling printf() with no arguments--\n";
29 echo "\n";
32 echo "\n-- Calling printf() with one arguments--\n";
34 echo "\n";
37 echo "\n";
40 echo "\n-- Calling printf() with two arguments--\n";
42 echo "\n";
45 echo "\n";
48 echo "\n-- Calling printf() with three arguments--\n";
50 echo "\n";
[all …]
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 …]
/PHP-5.6/ext/interbase/tests/
H A Dinterbase.inc41 echo "--- $table_name ---\n";
44 echo join("\t",$r)."\t\n";
47 echo "---\n";
52 echo "--- $table_name ---\n";
54 echo join("\t",$r)."\t\n";
56 echo "---\n";
63 echo join("\t",$r)."\t\n";
66 echo "---\n";
103 $n .= "." . substr(rand(), 0, rand() % ($len - strlen($n)) + 1);
115 $n = "-" .$n;
[all …]
H A D007.phpt31 echo "insert\n";
78 echo " CHAR[$i] fail:\n";
83 echo " DATE[$i] fail\n";
126 echo "select\n";
137 echo "CHAR fail\n";
144 echo "DATE fail\n";
150 echo "DECIMAL fail\n";
156 echo "INTEGER fail\n";
162 echo "NUMERIC fail\n";
168 echo "SMALLINT fail\n";
[all …]
H A D006.phpt37 echo "insert\n";
61 echo " CHAR fail:\n";
62 echo " in: $v_char\n";
66 echo " DATE fail\n";
67 echo " in: $v_date\n";
76 echo " DOUBLE fail\n";
81 echo " FLOAT fail\n";
108 echo "select\n";
135 echo "CHAR fail\n";
141 echo "DATE fail\n";
[all …]
/PHP-5.6/ext/hash/tests/
H A Dhash_file_basic1.phpt35 echo "adler32: " . hash_file('adler32', $file) . "\n";
36 echo "crc32: " . hash_file('crc32', $file) . "\n";
37 echo "gost: " . hash_file('gost', $file). "\n";
39 echo "md2: " . hash_file('md2', $file). "\n";
40 echo "md4: " . hash_file('md4', $file). "\n";
41 echo "md5: " . hash_file('md5', $file). "\n";
46 echo "sha1: " . hash_file('sha1', $file). "\n";
47 echo "sha256: " . hash_file('sha256', $file). "\n";
48 echo "sha384: " . hash_file('sha384', $file). "\n";
49 echo "sha512: " . hash_file('sha512', $file). "\n";
[all …]
H A Dhash_hmac_basic.phpt14 echo "*** Testing hash_hmac() : basic functionality ***\n";
19 echo "adler32: " . hash_hmac('adler32', $content, $key) . "\n";
20 echo "crc32: " . hash_hmac('crc32', $content, $key) . "\n";
21 echo "gost: " . hash_hmac('gost', $content, $key) . "\n";
23 echo "md2: " . hash_hmac('md2', $content, $key) . "\n";
24 echo "md4: " . hash_hmac('md4', $content, $key) . "\n";
25 echo "md5: " . hash_hmac('md5', $content, $key) . "\n";
30 echo "sha1: " . hash_hmac('sha1', $content, $key) . "\n";
31 echo "sha256: " . hash_hmac('sha256', $content, $key) . "\n";
32 echo "sha384: " . hash_hmac('sha384', $content, $key) . "\n";
[all …]
H A Dhash_pbkdf2_error.phpt19 echo $php_errormsg . "\n";
21 echo $php_errormsg . "\n";
23 echo $php_errormsg . "\n";
25 echo $php_errormsg . "\n";
29 echo $php_errormsg . "\n";
31 echo "\n-- Testing hash_pbkdf2() function with invalid hash algorithm --\n";
33 echo $php_errormsg . "\n";
35 echo "\n-- Testing hash_pbkdf2() function with invalid iterations --\n";
37 echo $php_errormsg . "\n";
41 echo "\n-- Testing hash_pbkdf2() function with invalid length --\n";
[all …]
H A Dripemd128.phpt7 echo hash('ripemd128', '') . "\n";
8 echo hash('ripemd128', 'a') . "\n";
9 echo hash('ripemd128', 'abc') . "\n";
10 echo hash('ripemd128', 'message digest') . "\n";
11 echo hash('ripemd128', 'abcdefghijklmnopqrstuvwxyz') . "\n";
12 echo hash('ripemd128', 'abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq') . "\n";
13 echo hash('ripemd128', 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789') . "\n";
14 …md128', '12345678901234567890123456789012345678901234567890123456789012345678901234567890') . "\n";
15 echo hash('ripemd128', str_repeat('a', 1000000)) . "\n";
H A Dripemd160.phpt7 echo hash('ripemd160', '') . "\n";
8 echo hash('ripemd160', 'a') . "\n";
9 echo hash('ripemd160', 'abc') . "\n";
10 echo hash('ripemd160', 'message digest') . "\n";
11 echo hash('ripemd160', 'abcdefghijklmnopqrstuvwxyz') . "\n";
12 echo hash('ripemd160', 'abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq') . "\n";
13 echo hash('ripemd160', 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789') . "\n";
14 …md160', '12345678901234567890123456789012345678901234567890123456789012345678901234567890') . "\n";
15 echo hash('ripemd160', str_repeat('a', 1000000)) . "\n";
H A Dripemd256.phpt7 echo hash('ripemd256', '') . "\n";
8 echo hash('ripemd256', 'a') . "\n";
9 echo hash('ripemd256', 'abc') . "\n";
10 echo hash('ripemd256', 'message digest') . "\n";
11 echo hash('ripemd256', 'abcdefghijklmnopqrstuvwxyz') . "\n";
12 echo hash('ripemd256', 'abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq') . "\n";
13 echo hash('ripemd256', 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789') . "\n";
14 …md256', '12345678901234567890123456789012345678901234567890123456789012345678901234567890') . "\n";
15 echo hash('ripemd256', str_repeat('a', 1000000)) . "\n";
/PHP-5.6/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 …]
/PHP-5.6/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-5.6/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-5.6/ext/mbstring/libmbfl/filters/
H A Dmbfilter_utf7imap.c69 int s, n; in mbfl_filt_conv_utf7imap_wchar() local
71 n = -1; in mbfl_filt_conv_utf7imap_wchar()
80 n = 62; in mbfl_filt_conv_utf7imap_wchar()
82 n = 63; in mbfl_filt_conv_utf7imap_wchar()
84 if (n < 0 || n > 63) { in mbfl_filt_conv_utf7imap_wchar()
128 n = (n & 0x3) << 14; in mbfl_filt_conv_utf7imap_wchar()
160 n = (n & 0xf) << 12; in mbfl_filt_conv_utf7imap_wchar()
236 int n, s; in mbfl_filt_conv_wchar_utf7imap() local
238 n = 0; in mbfl_filt_conv_wchar_utf7imap()
240 n = 1; in mbfl_filt_conv_wchar_utf7imap()
[all …]
H A Dmbfilter_uuencode.c67 int n; in mbfl_filt_conv_uudec() local
101 n = UUDEC(c); in mbfl_filt_conv_uudec()
102 filter->cache = n << 24; in mbfl_filt_conv_uudec()
107 n = UUDEC(c); in mbfl_filt_conv_uudec()
113 n = UUDEC(c); in mbfl_filt_conv_uudec()
119 n = UUDEC(c); in mbfl_filt_conv_uudec()
120 filter->cache |= n; in mbfl_filt_conv_uudec()
131 if (n-- > 0) in mbfl_filt_conv_uudec()
133 if (n-- > 0) in mbfl_filt_conv_uudec()
135 if (n-- > 0) in mbfl_filt_conv_uudec()
[all …]
/PHP-5.6/ext/mbstring/tests/
H A Dmb_str_functions_opt-parameter.phpt7 echo mb_strpos('abb', 'b', null, 'UTF-8') . "\n";
8 echo mb_strrpos('abb', 'b', null, 'UTF-8') . "\n";
9 echo mb_stripos('abb', 'B', null, 'UTF-8') . "\n";
10 echo mb_strripos('abb', 'B', null, 'UTF-8') . "\n";
11 echo mb_strstr('foobarbaz', 'ba', null, 'UTF-8') . "\n";
12 echo mb_strrchr('foobarbaz', 'ba', null, 'UTF-8') . "\n";
13 echo mb_stristr('foobarbaz', 'BA', null, 'UTF-8') . "\n";
14 echo mb_strrichr('foobarbaz', 'BA', null, 'UTF-8') . "\n";
15 echo mb_substr('foobarbaz', 6, null, 'UTF-8') . "\n";
16 echo mb_strcut('foobarbaz', 6, null, 'UTF-8') . "\n";
[all …]
/PHP-5.6/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-5.6/ext/intl/tests/
H A Dbug68447.phpt8 echo grapheme_extract($katsushikaku, 1) . "\n";
11 echo grapheme_extract($haiyore, 1, GRAPHEME_EXTR_COUNT) . "\n";
12 echo grapheme_extract($haiyore, 2, GRAPHEME_EXTR_COUNT) . "\n";
13 echo grapheme_extract($haiyore, 6, GRAPHEME_EXTR_MAXBYTES) . "\n";
14 echo grapheme_extract($haiyore, 9, GRAPHEME_EXTR_MAXBYTES) . "\n";
15 echo grapheme_extract($haiyore, 12, GRAPHEME_EXTR_MAXBYTES) . "\n";
16 echo grapheme_extract($haiyore, 1, GRAPHEME_EXTR_MAXCHARS) . "\n";
17 echo grapheme_extract($haiyore, 2, GRAPHEME_EXTR_MAXCHARS) . "\n";
18 echo grapheme_extract($haiyore, 3, GRAPHEME_EXTR_MAXCHARS) . "\n";

Completed in 79 milliseconds

12345678910>>...312