Home
last modified time | relevance | path

Searched refs:n (Results 51 – 75 of 7217) sorted by relevance

12345678910>>...289

/PHP-5.4/Zend/
H A Dbench.php106 $r = Ack(3,$n);
112 function ary($n) { argument
119 $last = $n-1;
125 function ary2($n) { argument
152 $last = $n-1;
158 function ary3($n) { argument
168 $last = $n-1;
175 return(($n < 2) ? 1 : fibo_r($n - 2) + fibo_r($n - 1));
179 $r = fibo_r($n);
220 $ir = $n;
[all …]
/PHP-5.4/tests/strings/
H A D001.phpt16 echo("failed 1\n");
18 echo("failed 2\n");
20 echo("failed 3\n");
22 echo("failed 4\n");
24 echo("passed\n");
32 echo("failed 1\n");
34 echo("failed 2\n");
36 echo("passed\n");
49 echo("passed\n");
56 echo("passed\n");
[all …]
/PHP-5.4/ext/date/tests/
H A Dbug33414-2.phpt5 print "TZ=Pacific/Rarotonga - wrong day.\n";
11 print "wanted=Tuesday 00:00:00\n\n";
19 print "wanted=Tuesday 00:00:00\n\n";
27 print "wanted=Monday 00:00:00\n\n";
35 print "wanted=Monday 00:00:00\n\n";
43 print "wanted=Monday 00:00:00\n\n";
51 print "wanted=Tuesday 00:00:00\n\n";
59 print "wanted=Wednesday 00:00:00\n\n";
61 print "TZ=Pacific/Fakaofo - wrong day.\n";
67 print "wanted=Saturday 00:00:00\n\n";
[all …]
H A Dbug27719.phpt11 echo "$a ".date("m/d/y h:i:s\n",$a);
12 echo "$b ".date("m/d/y h:i:s\n",$b);
13 echo "$c ".date("m/d/y h:i:s\n",$c);
14 echo "\n";
19 echo "$a ".date("m/d/y h:i:s\n",$a);
20 echo "$b ".date("m/d/y h:i:s\n",$b);
21 echo "$c ".date("m/d/y h:i:s\n",$c);
22 echo "\n";
30 echo "\n";
38 echo "\n";
[all …]
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-5.4/tests/lang/
H A Dexecution_order.phpt18 echo "\r\n";
25 echo "\r\n";
32 echo "\r\n";
39 echo "\r\n";
44 echo "\r\n";
51 echo "\r\n";
64 echo "\r\n";
69 echo "\r\n";
77 echo "\r\n";
83 echo "\r\n";
[all …]
/PHP-5.4/ext/standard/tests/array/
H A Darray_rand_variation6.phpt21 \n
31 hello\tworld\nhello\nworld\n
54 echo "\n-- with default parameters --\n";
57 echo "\n-- with num_req = 1 --\n";
60 echo "\n-- with num_req = 3 --\n";
63 echo "\n-- with num_req = 6 --\n";
73 string\([0-9]*\) "[a-z \n \t \0 0-9 ]*"
76 string\([0-9]*\) "[a-z \n \t \0 0-9 ]*"
81 string\([0-9]*\) "[a-z \n \t \0 0-9 ]*"
83 string\([0-9]*\) "[a-z \n \t \0 0-9 ]*"
[all …]
/PHP-5.4/ext/mbstring/libmbfl/filters/
H A Dmbfilter_byte4.c95 int n; in mbfl_filt_conv_byte4be_wchar() local
100 filter->cache = n; in mbfl_filt_conv_byte4be_wchar()
104 filter->cache |= n; in mbfl_filt_conv_byte4be_wchar()
107 n = (c & 0xff) << 8; in mbfl_filt_conv_byte4be_wchar()
108 filter->cache |= n; in mbfl_filt_conv_byte4be_wchar()
128 int n; in mbfl_filt_conv_byte4le_wchar() local
132 n = (c & 0xff); in mbfl_filt_conv_byte4le_wchar()
133 filter->cache = n; in mbfl_filt_conv_byte4le_wchar()
136 n = (c & 0xff) << 8; in mbfl_filt_conv_byte4le_wchar()
137 filter->cache |= n; in mbfl_filt_conv_byte4le_wchar()
[all …]
H A Dmbfilter_ucs2.c127 int n, endian; in mbfl_filt_conv_ucs2_wchar() local
133 n = c & 0xff; in mbfl_filt_conv_ucs2_wchar()
137 filter->cache = n; in mbfl_filt_conv_ucs2_wchar()
144 n = c & 0xff; in mbfl_filt_conv_ucs2_wchar()
146 n |= filter->cache; in mbfl_filt_conv_ucs2_wchar()
147 if (n == 0xfffe) { in mbfl_filt_conv_ucs2_wchar()
169 int n; in mbfl_filt_conv_ucs2be_wchar() local
174 filter->cache = n; in mbfl_filt_conv_ucs2be_wchar()
205 int n; in mbfl_filt_conv_ucs2le_wchar() local
209 n = c & 0xff; in mbfl_filt_conv_ucs2le_wchar()
[all …]
/PHP-5.4/ext/standard/tests/general_functions/
H A D001.phpt10 echo("passed\n");
12 echo("failed!\n");
18 echo("passed\n");
20 echo("failed!\n");
26 echo("passed\n");
28 echo("failed!\n");
34 echo("passed\n");
36 echo("failed!\n");
42 echo("passed\n");
44 echo("failed!\n");
[all …]
/PHP-5.4/ext/gmp/tests/
H A D021.phpt16 $n = gmp_init("8127346234");
18 $n = gmp_init("8127346234");
19 var_dump(gmp_strval(gmp_gcd("7623456735",$n)));
20 $n = gmp_init("8127346234");
21 var_dump(gmp_strval(gmp_gcd($n,$n)));
22 $n = gmp_init("8127346234");
23 var_dump(gmp_strval(gmp_gcd($n,0)));
24 var_dump(gmp_gcd($n,$n,1));
25 var_dump(gmp_gcd($n,array(),1));
26 var_dump(gmp_gcd(array(),$n,1));
[all …]
/PHP-5.4/ext/standard/tests/strings/
H A Dhtml_entity_decode2.phpt6 echo "*** HTML 4.01 implicit (shouldn't decode) ***\n";
7 echo html_entity_decode("&apos;", ENT_QUOTES, "UTF-8"), "\n";
9 echo "*** HTML 4.01 (shouldn't decode) ***\n";
10 echo html_entity_decode("&apos;", ENT_QUOTES | ENT_HTML401, "UTF-8"), "\n";
12 echo "*** HTML 5 ***\n";
13 echo html_entity_decode("&apos;", ENT_QUOTES | ENT_HTML5, "UTF-8"), "\n";
15 echo "*** XHTML 1.0 ***\n";
16 echo html_entity_decode("&apos;", ENT_QUOTES | ENT_XHTML, "UTF-8"), "\n";
18 echo "*** XML 1.0 ***\n";
19 echo html_entity_decode("&apos;", ENT_QUOTES | ENT_XML1, "UTF-8"), "\n";
[all …]
H A Dbug53021.phpt6 echo "double quotes variations:", "\n";
7 echo html_entity_decode("&quot;", ENT_NOQUOTES, 'UTF-8'), "\n";
8 echo html_entity_decode("&#34;", ENT_NOQUOTES, 'UTF-8'), "\n";
9 echo html_entity_decode("&quot;", ENT_QUOTES, 'UTF-8'), "\n";
10 echo html_entity_decode("&#34;", ENT_QUOTES, 'UTF-8'), "\n";
11 echo html_entity_decode("&quot;", ENT_COMPAT, 'UTF-8'), "\n";
12 echo html_entity_decode("&#34;", ENT_COMPAT, 'UTF-8'), "\n";
14 echo "\nsingle quotes variations:", "\n";
15 echo html_entity_decode("&#39;", ENT_NOQUOTES, 'UTF-8'), "\n";
16 echo html_entity_decode("&#39;", ENT_QUOTES, 'UTF-8'), "\n";
[all …]
/PHP-5.4/ext/standard/tests/serialize/
H A D001.phpt31 echo "__sleep called\n";
37 echo "__wakeup called\n";
42 echo serialize(NULL)."\n";
45 echo serialize(1)."\n";
46 echo serialize(0)."\n";
47 echo serialize(-1)."\n";
51 echo serialize(1.0)."\n";
52 echo serialize(0.0)."\n";
60 echo "$data\n";
66 echo "$data\n";
[all …]
/PHP-5.4/ext/standard/tests/file/
H A D001.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";
30 echo "test.link exists\n";
32 echo "test.link does not exist\n";
35 echo "test.file is a symlink\n";
40 echo "test.link is a symlink\n";
45 echo "test.file exists\n";
73 echo "test.file is readable\n";
[all …]
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 …]
/PHP-5.4/ext/soap/
H A Dphp_xml.h47 #define FOREACHATTRNODE(n,c,i) FOREACHATTRNODEEX(n,c,NULL,i) argument
50 if (n == NULL) { \
56 i = n; \
59 n = i;
61 #define FOREACHNODE(n,c,i) FOREACHNODEEX(n,c,NULL,i) argument
64 if (n == NULL) { \
68 i = get_node_ex(n,c,NULL); \
70 i = n; \
73 n = i;
75 #define ENDFOREACH(n) \ argument
[all …]
/PHP-5.4/ext/mbstring/tests/
H A Dmb_detect_order.phpt16 ($r === TRUE) ? print "OK_AUTO\n" : print "NG_AUTO\n";
17 print implode(', ', mb_detect_order()) . "\n";
22 ($r === TRUE) ? print "OK_STR\n" : print "NG_STR\n";
23 print implode(', ', mb_detect_order()) . "\n";
32 ($r === TRUE) ? print "OK_ARRAY\n" : print "NG_ARRAY\n";
33 print implode(', ', mb_detect_order()) . "\n";
36 print "== INVALID PARAMETER ==\n";
39 ($r === FALSE) ? print "OK_BAD_STR\n" : print "NG_BAD_STR\n";
40 print implode(', ', mb_detect_order()) . "\n";
44 ($r === FALSE) ? print "OK_BAD_ARRAY\n" : print "NG_BAD_ARRAY\n";
[all …]
/PHP-5.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..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.4/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 …]
/PHP-5.4/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 …]
/PHP-5.4/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.4/ext/calendar/tests/
H A Djdtojewish.phpt8 var_dump(jdtojewish(gregoriantojd(10,28,2002))."\r\n".
9 jdtojewish(gregoriantojd(10,28,2002),true)."\r\n".
10 jdtojewish(gregoriantojd(10,28,2002),true, CAL_JEWISH_ADD_ALAFIM_GERESH)."\r\n".
11 jdtojewish(gregoriantojd(10,28,2002),true, CAL_JEWISH_ADD_ALAFIM)."\r\n".
12 …ojewish(gregoriantojd(10,28,2002),true, CAL_JEWISH_ADD_ALAFIM_GERESH+CAL_JEWISH_ADD_ALAFIM)."\r\n".
13 jdtojewish(gregoriantojd(10,28,2002),true, CAL_JEWISH_ADD_GERESHAYIM)."\r\n".
14 jdtojewish(gregoriantojd(10,8,2002),true, CAL_JEWISH_ADD_GERESHAYIM)."\r\n".
15 …wish(gregoriantojd(10,8,2002),true, CAL_JEWISH_ADD_GERESHAYIM+CAL_JEWISH_ADD_ALAFIM_GERESH)."\r\n".
16 jdtojewish(gregoriantojd(10,8,2002),true, CAL_JEWISH_ADD_GERESHAYIM+CAL_JEWISH_ADD_ALAFIM)."\r\n".
17 …,2002),true, CAL_JEWISH_ADD_GERESHAYIM+CAL_JEWISH_ADD_ALAFIM+CAL_JEWISH_ADD_ALAFIM_GERESH)."\r\n");
/PHP-5.4/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 …]

Completed in 59 milliseconds

12345678910>>...289