Home
last modified time | relevance | path

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

12345678910>>...352

/php-src/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 Dfileinode_variation.phpt20 echo "-- Testing with files --\n";
25 print( fileinode( $file1) )."\n";
26 print( fileinode( $file2) )."\n";
31 print( fileinode( $file1) )."\n";
33 print( fileinode( $link1) )."\n";
38 print( fileinode( $file2) )."\n";
40 print( fileinode( $link2) )."\n";
47 print( fileinode( $file1) )."\n";
66 echo "-- Testing with directories --\n";
75 echo "-- Testing with binary input --\n";
[all …]
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-src/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";
/php-src/ext/standard/tests/strings/
H A Dprint_basic.phpt6 echo "*** Testing print() : basic functionality ***\n";
8 echo "\n-- Iteration 1 --\n";
11 echo "\n-- Iteration 2 --\n";
14 echo "\n-- Iteration 3 --\n";
19 echo "\n-- Iteration 4 --\n";
22 echo "\n-- Iteration 5 --\n";
29 echo "\n-- Iteration 6 --\n";
35 echo "\n-- Iteration 7 --\n";
39 echo "\n-- Iteration 8 --\n";
43 echo "\n-- Iteration 9 --\n";
[all …]
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_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";
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";
/php-src/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-src/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-src/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-src/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-src/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";
/php-src/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-src/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-src/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-src/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-src/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-src/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-src/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 …]

Completed in 47 milliseconds

12345678910>>...352