Home
last modified time | relevance | path

Searched refs:n (Results 26 – 50 of 6539) sorted by relevance

12345678910>>...262

/PHP-5.3/ext/gmp/tests/
H A Dgmp_nextprime.phpt12 $n = gmp_nextprime(-1);
13 var_dump(gmp_strval($n));
14 $n = gmp_nextprime(0);
15 var_dump(gmp_strval($n));
16 $n = gmp_nextprime(-1000);
17 var_dump(gmp_strval($n));
18 $n = gmp_nextprime(1000);
19 var_dump(gmp_strval($n));
21 var_dump(gmp_strval($n));
24 $n = gmp_nextprime("");
[all …]
H A D033.phpt8 $n = gmp_init(-1);
9 gmp_setbit($n, 10, -1);
12 $n = gmp_init(5);
13 gmp_setbit($n, -20, 0);
16 $n = gmp_init(5);
17 gmp_setbit($n, 2, 0);
20 $n = gmp_init(5);
21 gmp_setbit($n, 1, 1);
25 gmp_setbit($n, 23, 1);
31 gmp_setbit($n, 3);
[all …]
/PHP-5.3/ext/pcre/tests/
H A Dbug41148.phpt10 /* 0 */ "/\n(----+|____+)/S",
11 /* 1 */ "/\n-- */S",
12 /* 2 */ "/\n- */S",
16 /* 6 */ "/(( *)\n){2,}(<br[[:space:]]*\/?".">)?/S",
22 /* 12 */ "/<p>([\n]*(<br[[:space:]]*\/?".">)*)*/S",
27 /* 0 */ "\n\n$ligne_horizontale\n\n",
28 /* 1 */ "\n<br />&mdash;&nbsp;",
29 /* 2 */ "\n<br />$puce&nbsp;",
30 /* 3 */ "\n<br />",
31 /* 4 */ "\$1\n\n$debut_intertitre",
[all …]
H A Dpcre.constants.phpt6 echo "PCRE constants test\n";
8 echo "PREG_PATTERN_ORDER= ", PREG_PATTERN_ORDER, "\n";
9 echo "PREG_OFFSET_CAPTURE= ", PREG_OFFSET_CAPTURE, "\n";
10 echo "PREG_SPLIT_NO_EMPTY= ", PREG_SPLIT_NO_EMPTY, "\n";
11 echo "PREG_SPLIT_DELIM_CAPTURE= ", PREG_SPLIT_DELIM_CAPTURE, "\n";
12 echo "PREG_SPLIT_OFFSET_CAPTURE= ", PREG_SPLIT_OFFSET_CAPTURE, "\n";
13 echo "PREG_GREP_INVERT= ", PREG_GREP_INVERT, "\n";
14 echo "PREG_NO_ERROR= ", PREG_NO_ERROR, "\n";
15 echo "PREG_INTERNAL_ERROR= ", PREG_INTERNAL_ERROR, "\n";
16 echo "PREG_BACKTRACK_LIMIT_ERROR= ", PREG_BACKTRACK_LIMIT_ERROR, "\n";
[all …]
/PHP-5.3/ext/mbstring/libmbfl/filters/
H A Dmbfilter_utf7.c96 int s, n; in mbfl_filt_conv_utf7_wchar() local
98 n = -1; in mbfl_filt_conv_utf7_wchar()
107 n = 62; in mbfl_filt_conv_utf7_wchar()
109 n = 63; in mbfl_filt_conv_utf7_wchar()
111 if (n < 0 || n > 63) { in mbfl_filt_conv_utf7_wchar()
155 n = (n & 0x3) << 14; in mbfl_filt_conv_utf7_wchar()
187 n = (n & 0xf) << 12; in mbfl_filt_conv_utf7_wchar()
251 n = 0; in mbfl_filt_conv_wchar_utf7()
254 n = 1; in mbfl_filt_conv_wchar_utf7()
418 int n; in mbfl_filt_ident_utf7() local
[all …]
H A Dmbfilter_base64.c86 int n; in mbfl_filt_conv_base64enc() local
89 if (n == 0) { in mbfl_filt_conv_base64enc()
99 if (n > 72) { in mbfl_filt_conv_base64enc()
151 int n; in mbfl_filt_conv_base64dec() local
157 n = 0; in mbfl_filt_conv_base64dec()
159 n = c - 65; in mbfl_filt_conv_base64dec()
161 n = c - 71; in mbfl_filt_conv_base64dec()
163 n = c + 4; in mbfl_filt_conv_base64dec()
165 n = 62; in mbfl_filt_conv_base64dec()
167 n = 63; in mbfl_filt_conv_base64dec()
[all …]
/PHP-5.3/ext/date/tests/
H A Dtimezones-list.phpt10 echo in_array( "Europe/Oslo", $a ) ? "found" : "notfound", "\n";
11 echo in_array( "Europe/Oslo", $b ) ? "found" : "notfound", "\n";
12 echo in_array( "Europe/Oslo", $c ) ? "found" : "notfound", "\n";
13 echo in_array( "Europe/Oslo", $d ) ? "found" : "notfound", "\n\n";
18 echo in_array( "America/New_York", $d ) ? "found" : "notfound", "\n\n";
20 echo in_array( "UTC", $a ) ? "found" : "notfound", "\n";
21 echo in_array( "UTC", $b ) ? "found" : "notfound", "\n";
22 echo in_array( "UTC", $c ) ? "found" : "notfound", "\n";
23 echo in_array( "UTC", $d ) ? "found" : "notfound", "\n\n";
25 echo in_array( "US/Eastern", $a ) ? "found" : "notfound", "\n";
[all …]
H A Dbug33414-1.phpt13 print "wanted=Sunday 00:00:00\n\n";
21 print "wanted=Sunday 00:00:00\n\n";
29 print "wanted=Sunday 00:00:00\n\n";
37 print "wanted=Tuesday 00:00:00\n\n";
46 print "wanted=Thursday 00:00:00\n\n";
54 print "wanted=Sunday 00:00:00\n\n";
62 print "wanted=Friday 00:00:00\n\n";
78 print "wanted=Saturday 00:00:00\n\n";
94 print "wanted=Friday 00:00:00\n\n";
102 print "wanted=Friday 00:00:00\n\n";
[all …]
H A Dbug32086.phpt8 echo $g = strtotime("2004-11-01"), "\n";
13 echo date("Y-m-d H:i:s T\n", $g);
14 echo date("Y-m-d H:i:s T\n", $i);
15 echo date("Y-m-d H:i:s T\n", $j);
16 echo date("Y-m-d H:i:s T\n", $k);
17 echo date("Y-m-d H:i:s T\n", $l);
24 echo date("Y-m-d H:i:s T\n", $g);
25 echo date("Y-m-d H:i:s T\n", $i);
26 echo date("Y-m-d H:i:s T\n", $j);
27 echo date("Y-m-d H:i:s T\n", $k);
[all …]
H A DDateInterval_format.phpt20 echo $interval->format('Y=%Y') . "\n";
21 echo $interval->format('M=%M') . "\n";
22 echo $interval->format('D=%D') . "\n";
23 echo $interval->format('H=%H') . "\n";
24 echo $interval->format('I=%I') . "\n";
25 echo $interval->format('S=%S') . "\n";
26 echo $interval->format('R=%R') . "\n";
28 echo $interval->format('y=%y') . "\n";
29 echo $interval->format('m=%m') . "\n";
36 echo "\n";
[all …]
/PHP-5.3/ext/mysqli/tests/
H A Dreflection_tools.inc6 printf("\nInspecting class '%s'\n", $class->getName());
14 printf("Modifiers: '%d'\n", $class->getModifiers());
15 printf("Parent Class: '%s'\n", $class->getParentClass());
16 printf("Extension: '%s'\n", $class->getExtensionName());
44 printf("Default property '%s'\n", $name);
50 printf("Static property '%s'\n", $name);
56 printf("Constant '%s' = '%s'\n", $name, $value);
69 printf("Modifiers: %d\n", $prop->getModifiers());
70 // printf("Value\n"); var_export($prop->getValue());
88 printf("Modifiers: %d\n", $method->getModifiers());
[all …]
H A Dmysqli_real_escape_string_unicode.phpt28 printf("[004] Expecting фу\\\\бар, got %s\n", $tmp);
31 printf("[005] Expecting бар\"фус, got %s\n", $tmp);
34 printf("[006] Expecting лала'лали, got %s\n", $tmp);
36 if ("абра\\nкадабра" !== ($tmp = mysqli_real_escape_string($link, "абра\nкадабра")))
37 printf("[007] Expecting абра\\nкадабра, got %s\n", $tmp);
40 printf("[008] Expecting \\r, got %s\n", $tmp);
52 printf("[011] Expecting 富\\\\酒吧, got %s\n", $tmp);
58 printf("[013] Expecting 拉拉'西雅图, got %s\n", $tmp);
60 if ("阿卜拉\\n轻" !== ($tmp = mysqli_real_escape_string($link, "阿卜拉\n轻")))
61 printf("[014] Expecting 阿卜拉\\n轻, got %s\n", $tmp);
[all …]
/PHP-5.3/Zend/tests/
H A Dbug46304.phpt13 print NS1\ns2\const1 . "\n";
14 print ns1\ns2\const1 . "\n";
15 print ns1\NS2\const1 . "\n";
17 print NS1\ns2\const2 . "\n";
18 print ns1\ns2\const2 . "\n";
19 print ns1\NS2\const2 . "\n";
21 print NS1\ns2\coNSt3 . "\n";
22 print ns1\ns2\coNSt3 . "\n";
23 print ns1\ns2\coNSt3 . "\n";
25 print NS1\ns2\const4 . "\n";
[all …]
/PHP-5.3/ext/ftp/tests/
H A Dserver.inc50 fputs($fs, "\r\n");
129 fputs($s, "200 OK\r\n");
137 fputs($s, "200 OK\r\n");
186 fputs($s, " USER\r\n");
187 fputs($s, " HELP\r\n");
209 fputs($s, "200 OK\r\n");
213 fputs($s, "200 OK\r\n");
221 fputs($s, "200 OK.\r\n");
240 …|| isset($bug39583)) && $data === strtr($orig, array("\r\n" => "\n", "\r" => "\n", "\n" => "\r\n")…
358 fputs($fs, "Bar\r\n");
[all …]
/PHP-5.3/ext/ereg/regex/
H A Dregexec.c25 #define SET0(v, n) ((v) &= ~((unsigned)1 << (n))) argument
26 #define SET1(v, n) ((v) |= (unsigned)1 << (n)) argument
27 #define ISSET(v, n) ((v) & ((unsigned)1 << (n))) argument
35 #define INIT(o, n) ((o) = (unsigned)1 << (n)) argument
42 #define ISSETBACK(v, n) ((v) & ((unsigned)here >> (n))) argument
72 #define SET0(v, n) ((v)[n] = 0) argument
73 #define SET1(v, n) ((v)[n] = 1) argument
74 #define ISSET(v, n) ((v)[n]) argument
84 #define INIT(o, n) ((o) = (n)) argument
89 #define FWD(dst, src, n) ((dst)[here+(n)] |= (src)[here]) argument
[all …]
/PHP-5.3/ext/dom/tests/
H A Ddom_create_element.phpt12 print "valid\n";
21 print "valid\n";
30 print "valid\n";
39 print "valid\n";
48 print "valid\n";
57 print "valid\n";
66 print "valid\n";
75 print "valid\n";
84 print "valid\n";
93 print "valid\n";
[all …]
/PHP-5.3/ext/mbstring/tests/
H A Dmb_http_output.phpt14 ($r === TRUE) ? print "OK_ASCII_SET\n" : print "NG_ASCII_SET\n";
16 print "$enc\n";
20 ($r === TRUE) ? print "OK_SJIS_SET\n" : print "NG_SJIS_SET\n";
22 print "$enc\n";
26 ($r === TRUE) ? print "OK_JIS_SET\n" : print "NG_JIS_SET\n";
28 print "$enc\n";
34 print "$enc\n";
40 print "$enc\n";
47 ($r === FALSE) ? print "OK_BAD_SET\n" : print "NG_BAD_SET\n";
49 print "$enc\n";
[all …]
H A Dmb_internal_encoding.phpt14 ($r === TRUE) ? print "OK_EUC-JP_SET\n" : print "NG_EUC-JP_SET\n";
16 print "$enc\n";
20 ($r === TRUE) ? print "OK_UTF-8_SET\n" : print "NG_UTF-8_SET\n";
22 print "$enc\n";
26 ($r === TRUE) ? print "OK_ASCII_SET\n" : print "NG_ASCII_SET\n";
28 print "$enc\n";
35 ($r === FALSE) ? print "OK_BAD_SET\n" : print "NG_BAD_SET\n";
37 print "$enc\n";
40 ($r === FALSE) ? print "OK_BAD_ARY_SET\n" : print "NG_BAD_ARY_SET\n";
42 print "$enc\n";
[all …]
H A Dmb_strlen.phpt23 echo "== ASCII ==\n";
25 print strlen($ascii) . "\n";
28 echo "== EUC-JP ==\n";
34 echo "== SJIS ==\n";
38 print strlen($sjis) . "\n";
42 echo "== JIS ==\n";
46 print strlen($jis) . "\n";
50 echo "== UTF-8 ==\n";
62 echo $r."\n";
66 echo $r."\n";
[all …]
/PHP-5.3/ext/hash/tests/
H A Dcrc32.phpt7 echo hash('crc32', ''), "\n";
8 echo hash('crc32', 'a'), "\n";
9 echo hash('crc32', 'abc'), "\n";
10 echo hash('crc32', 'message digest'), "\n";
11 echo hash('crc32', 'abcdefghijklmnopqrstuvwxyz'), "\n";
12 echo hash('crc32', 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'), "\n";
14 echo hash('crc32b', ''), "\n";
15 echo hash('crc32b', 'a'), "\n";
16 echo hash('crc32b', 'abc'), "\n";
17 echo hash('crc32b', 'message digest'), "\n";
[all …]
/PHP-5.3/ext/standard/tests/strings/
H A Dadd-and-stripcslashes.phpt5 echo addcslashes("", "")."\n";
6 echo addcslashes("", "burp")."\n";
7 echo addcslashes("kaboemkara!", "")."\n";
8 echo addcslashes("foobarbaz", 'bar')."\n";
9 echo addcslashes('foo[ ]', 'A..z')."\n";
10 echo @addcslashes("zoo['.']", 'z..A')."\n";
11 echo addcslashes('abcdefghijklmnopqrstuvwxyz', "a\145..\160z")."\n";
12 echo "\n\r" == stripcslashes('\n\r'),"\n";
13 echo stripcslashes('\065\x64')."\n";
14 echo stripcslashes('')."\n";
[all …]
/PHP-5.3/ext/interbase/tests/
H A D003.phpt58 echo " CHAR fail:\n";
59 echo " in: $v_char\n";
63 echo " DATE fail\n";
64 echo " in: $v_date\n";
99 echo " DOUBLE fail\n";
104 echo " FLOAT fail\n";
105 echo " in: $v_float\n";
109 echo " INTEGER fail\n";
114 echo " SMALLINT fail\n";
120 echo " VARCHAR fail:\n";
[all …]
/PHP-5.3/ext/standard/tests/general_functions/
H A Disset_basic1.phpt11 echo "*** Testing isset() : basic functionality ***\n";
18 $n = NULL;
22 echo "Integer test: " . (isset($i) ? "YES": "NO") . "\n";
23 echo "Float test: " . (isset($f) ? "YES": "NO") . "\n";
24 echo "String test: " . (isset($s) ? "YES": "NO") . "\n";
25 echo "Array test: " . (isset($a) ? "YES": "NO") . "\n";
27 echo "Null test: " . (isset($n) ? "YES": "NO") . "\n";
31 echo "\n\nUnset the variables\n\n";
32 unset($i, $f, $s, $a, $b, $n, $obj, $res);
35 echo "Float test: " . (isset($f) ? "YES": "NO") . "\n";
[all …]
/PHP-5.3/ext/zip/tests/
H A Doo_properties.phpt21 printf("zip->status (%d):\n\tempty(): %d\n\tisset(): %d\n", $zip->status, empty($zip->status), isse…
22 printf("zip->numFiles (%d):\n\tempty(): %d\n\tisset(): %d\n", $zip->numFiles, empty($zip->numFiles)…
23 printf("zip->bogus (%d):\n\tempty(): %d\n\tisset(): %d\n", $zip->bogus, empty($zip->bogus), isset($…
28 printf("zip->status (%d):\n\tempty(): %d\n\tisset(): %d\n", $zip->status, empty($zip->status), isse…
29 printf("zip->numFiles (%d):\n\tempty(): %d\n\tisset(): %d\n", $zip->numFiles, empty($zip->numFiles)…
30 printf("zip->filename (%d):\n\tempty(): %d\n\tisset(): %d\n", strlen($zip->filename), empty($zip->f…
31 printf("zip->comment (%d):\n\tempty(): %d\n\tisset(): %d\n", strlen($zip->comment), empty($zip->com…
/PHP-5.3/Zend/
H A Dbench.php107 $r = Ack(3,$n);
113 function ary($n) { argument
120 $last = $n-1;
126 function ary2($n) { argument
153 $last = $n-1;
159 function ary3($n) { argument
169 $last = $n-1;
176 return(($n < 2) ? 1 : fibo_r($n - 2) + fibo_r($n - 1));
180 $r = fibo_r($n);
221 $ir = $n;
[all …]

Completed in 52 milliseconds

12345678910>>...262