Home
last modified time | relevance | path

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

12345678910>>...308

/PHP-5.3/ext/soap/
H A Dphp_xml.h54 #define FOREACHATTRNODE(n,c,i) FOREACHATTRNODEEX(n,c,NULL,i) argument
57 if (n == NULL) { \
63 i = n; \
66 n = i;
68 #define FOREACHNODE(n,c,i) FOREACHNODEEX(n,c,NULL,i) argument
71 if (n == NULL) { \
75 i = get_node_ex(n,c,NULL); \
77 i = n; \
80 n = i;
82 #define ENDFOREACH(n) \ argument
[all …]
/PHP-5.3/ext/standard/tests/general_functions/
H A Dget_magic_quotes_runtime.phpt11 echo "Simple testcase for get_magic_quotes_runtime() function\n";
14 echo "\n-- magic quotes runtime set in INI file: " . $g . " --\n";
16 echo "\n-- Set magic quotes runtime to 1: --\n";
19 echo "\n-- magic quotes runtime after set: " . $g . " --\n";
21 echo "\n-- Set magic quotes runtime to 0: --\n";
24 echo "\n-- magic quotes runtime after set: " . $g . " --\n";
26 echo "\n-- Set magic quotes runtime to 1: --\n";
29 echo "\n-- magic quotes runtime after set: " . $g . " --\n";
31 echo "\n-- Error cases --\n";
/PHP-5.3/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.3/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 …]
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-5.3/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.3/ext/interbase/tests/
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.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-5.3/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.3/tests/lang/
H A DforeachLoop.016.phpt7 echo "\n" . '$a' . "\n";
15 echo "\n" . '${\'a\'}' . "\n";
23 echo "\n" . '$$a' . "\n";
33 echo "\n" . '$a[0]' . "\n";
41 echo "\n" . '$a[0][0]' . "\n";
49 echo "\n" . '$a->b' . "\n";
57 echo "\n" . '$a->b->c' . "\n";
65 echo "\n" . '$a->b[0]' . "\n";
73 echo "\n" . '$a->b[0][0]' . "\n";
93 echo "\n" . 'C::$a' . "\n";
[all …]
/PHP-5.3/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.3/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.3/ext/mbstring/tests/
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.3/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.3/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.3/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.3/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 30 milliseconds

12345678910>>...308