Home
last modified time | relevance | path

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

12345678910>>...315

/PHP-5.4/ext/interbase/tests/
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.4/ext/standard/
H A Ddns.c437 long n, i; in php_parserr() local
449 cp += n; in php_parserr()
513 cp += n; in php_parserr()
524 cp += n; in php_parserr()
530 cp += n; in php_parserr()
569 cp += n; in php_parserr()
575 cp += n; in php_parserr()
713 cp += n; in php_parserr()
729 cp += n; in php_parserr()
736 cp += n; in php_parserr()
[all …]
/PHP-5.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-5.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-5.4/ext/standard/tests/strings/
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.4/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.4/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 …]
H A Dmb_preferred_mime_name.phpt15 echo "$str\n";
18 echo "$str\n";
21 echo "$str\n";
24 echo "$str\n";
27 echo "$str\n";
30 echo "$str\n";
33 echo "$str\n";
36 echo "$str\n";
39 echo "$str\n";
41 echo "== INVALID PARAMETER ==\n";
[all …]
/PHP-5.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 …]
H A Dfileinode_variation.phpt24 echo "-- Testing with files --\n";
29 print( fileinode( $file1) )."\n";
30 print( fileinode( $file2) )."\n";
35 print( fileinode( $file1) )."\n";
37 print( fileinode( $link1) )."\n";
42 print( fileinode( $file2) )."\n";
44 print( fileinode( $link2) )."\n";
51 print( fileinode( $file1) )."\n";
70 echo "-- Testing with directories --\n";
79 echo "-- Testing with binary input --\n";
[all …]
/PHP-5.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-5.4/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";
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-5.4/ext/hash/tests/
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";
H A Dripemd320.phpt7 echo hash('ripemd320', '') . "\n";
8 echo hash('ripemd320', 'a') . "\n";
9 echo hash('ripemd320', 'abc') . "\n";
10 echo hash('ripemd320', 'message digest') . "\n";
11 echo hash('ripemd320', 'abcdefghijklmnopqrstuvwxyz') . "\n";
12 echo hash('ripemd320', 'abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq') . "\n";
13 echo hash('ripemd320', 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789') . "\n";
14 …md320', '12345678901234567890123456789012345678901234567890123456789012345678901234567890') . "\n";
15 echo hash('ripemd320', str_repeat('a', 1000000)) . "\n";
/PHP-5.4/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-5.4/Zend/tests/
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-5.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";
/PHP-5.4/ext/standard/tests/assert/
H A Dassert_variation.phpt13 echo "f1 called\n";
17 echo "f2 called\n";
21 echo "f3 called\n";
34 echo"\n";
41 echo"\n";
48 echo"\n";
56 echo"\n";
61 echo "ini.get(\"assert.callback\") => [".ini_get("assert.callback")."]\n\n";
63 echo"\n";
69 echo "ini.get(\"assert.callback\") => [".ini_get("assert.callback")."]\n\n";
[all …]

Completed in 40 milliseconds

12345678910>>...315