Home
last modified time | relevance | path

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

12345678910>>...266

/PHP-7.4/ext/gettext/tests/66265/fr_FR/LC_MESSAGES/
H A Ddomain.po3 "Project-Id-Version: bugs.php.net/66265\n"
4 "POT-Creation-Date: 2014-11-20 16:33+0100\n"
5 "PO-Revision-Date: 2014-11-20 16:59+0100\n"
6 "Last-Translator: <ab@php.net>\n"
7 "Language-Team: \n"
8 "MIME-Version: 1.0\n"
10 "Content-Transfer-Encoding: 8bit\n"
11 "X-Generator: Poedit 1.6.10\n"
12 "X-Poedit-Basepath: .\n"
13 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
[all …]
/PHP-7.4/Zend/tests/
H A Dbug71300.phpt6 for ($n = 'a'; $n < 'g'; $n++) {
7 $$n = 1;
9 $$n = $$n[++$n] = "test";
10 return $$n;
17 $n = "a";
18 $$n .= $$n[++$n] = "test";
19 return $$n;
H A Dbug66608.phpt7 echo "1\n";
13 echo "2\n";
19 echo "3\n";
23 echo "4\n";
27 echo "5\n";
30 echo "6\n";
35 echo "7\n";
38 echo "8\n";
42 echo "9\n";
55 echo "12\n";
[all …]
H A Dobject_handlers.phpt41 echo $y,"\n";
43 echo $y,"\n";
45 echo $y,"\n";
47 echo $y,"\n";
49 echo $y,"\n";
51 echo $y,"\n";
53 echo $y,"\n";
55 echo $y,"\n";
59 echo $y,"\n";
61 echo $y,"\n";
[all …]
H A Dbug31098.phpt19 echo isset($simpleString->wrong)?"bug\n":"ok\n";
20 echo isset($simpleString["wrong"])?"bug\n":"ok\n";
21 echo isset($simpleString[-20])?"bug\n":"ok\n";
22 echo isset($simpleString[0])?"ok\n":"bug\n";
23 echo isset($simpleString["0"])?"ok\n":"bug\n";
24 echo isset($simpleString["16"])?"ok\n":"bug\n";
25 echo isset($simpleString["17"])?"bug\n":"ok\n";
26 echo $simpleString->wrong === null?"ok\n":"bug\n";
27 echo $simpleString["wrong"] === "B"?"ok\n":"bug\n";
28 echo $simpleString["0"] === "B"?"ok\n":"bug\n";
[all …]
/PHP-7.4/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-7.4/ext/mbstring/libmbfl/filters/
H A Dmbfilter_tl_jisx0201_jisx0208.c43 int s, n; in mbfl_filt_tl_jisx0201_jisx0208() local
73 n = (filt->cache - 0xff60) & 0x3f; in mbfl_filt_tl_jisx0201_jisx0208()
74 if (c == 0xff9e && ((n >= 22 && n <= 36) || (n >= 42 && n <= 46))) { in mbfl_filt_tl_jisx0201_jisx0208()
80 } else if (c == 0xff9f && (n >= 42 && n <= 46)) { in mbfl_filt_tl_jisx0201_jisx0208()
95 n = (filt->cache - 0xff60) & 0x3f; in mbfl_filt_tl_jisx0201_jisx0208()
106 if (c == 0xff9e && ((n >= 22 && n <= 36) || (n >= 42 && n <= 46))) { in mbfl_filt_tl_jisx0201_jisx0208()
109 } else if (c == 0xff9f && (n >= 42 && n <= 46)) { in mbfl_filt_tl_jisx0201_jisx0208()
188 n = c - 0x30a1; in mbfl_filt_tl_jisx0201_jisx0208()
198 n = c - 0x3041; in mbfl_filt_tl_jisx0201_jisx0208()
273 int ret, n; in mbfl_filt_tl_jisx0201_jisx0208_flush() local
[all …]
H A Dmbfilter_utf7.c98 int s, n; in mbfl_filt_conv_utf7_wchar() local
100 n = -1; in mbfl_filt_conv_utf7_wchar()
109 n = 62; in mbfl_filt_conv_utf7_wchar()
111 n = 63; in mbfl_filt_conv_utf7_wchar()
113 if (n < 0 || n > 63) { in mbfl_filt_conv_utf7_wchar()
157 n = (n & 0x3) << 14; in mbfl_filt_conv_utf7_wchar()
189 n = (n & 0xf) << 12; in mbfl_filt_conv_utf7_wchar()
253 n = 0; in mbfl_filt_conv_wchar_utf7()
256 n = 1; in mbfl_filt_conv_wchar_utf7()
418 int n; in mbfl_filt_ident_utf7() local
[all …]
/PHP-7.4/ext/gmp/tests/
H A Dgmp_nextprime.phpt9 $n = gmp_nextprime(-1);
10 var_dump(gmp_strval($n));
11 $n = gmp_nextprime(0);
12 var_dump(gmp_strval($n));
13 $n = gmp_nextprime(-1000);
14 var_dump(gmp_strval($n));
15 $n = gmp_nextprime(1000);
16 var_dump(gmp_strval($n));
18 var_dump(gmp_strval($n));
21 $n = gmp_nextprime("");
[all …]
H A Dgmp_setbit.phpt8 $n = gmp_init(-1);
9 gmp_setbit($n, 10, -1);
10 var_dump(gmp_strval($n));
12 $n = gmp_init(5);
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-7.4/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=Monday 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=Sunday 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 …]
/PHP-7.4/ext/hash/tests/
H A Dhash_hkdf_basic.phpt11 echo "*** Testing hash_hkdf(): basic functionality ***\n";
15 echo 'md2: ', bin2hex(hash_hkdf('md2', $ikm)), "\n";
16 echo 'md4: ', bin2hex(hash_hkdf('md4', $ikm)), "\n";
17 echo 'md5: ', bin2hex(hash_hkdf('md5', $ikm)), "\n";
18 echo 'sha1: ', bin2hex(hash_hkdf('sha1', $ikm)), "\n";
19 echo 'sha224: ', bin2hex(hash_hkdf('sha224', $ikm)), "\n";
20 echo 'sha256: ', bin2hex(hash_hkdf('sha256', $ikm)), "\n";
21 echo 'sha384: ', bin2hex(hash_hkdf('sha384', $ikm)), "\n";
22 echo 'sha512: ', bin2hex(hash_hkdf('sha512', $ikm)), "\n";
49 echo 'snefru: ', bin2hex(hash_hkdf('snefru', $ikm)), "\n";
[all …]
H A Dcrc32.phpt5 echo "crc32\n";
6 echo hash('crc32', ''), "\n";
7 echo hash('crc32', 'a'), "\n";
8 echo hash('crc32', 'abc'), "\n";
14 echo "crc32b\n";
15 echo hash('crc32b', ''), "\n";
16 echo hash('crc32b', 'a'), "\n";
17 echo hash('crc32b', 'abc'), "\n";
23 echo "crc32c\n";
24 echo hash('crc32c', ''), "\n";
[all …]
/PHP-7.4/ext/mysqli/tests/
H A Dreflection_tools.inc6 printf("\nInspecting class '%s'\n", $class->getName());
12 printf("isFinal: %s\n", ($class->isFinal()) ? 'yes' : 'no');
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);
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-7.4/ext/mbstring/tests/
H A Dcasemapping.phpt9 echo "String: $str\n";
10 echo "Lower: ", mb_convert_case($str, MB_CASE_LOWER), "\n";
18 echo "\n";
32 echo bin2hex(mb_convert_case($str, MB_CASE_LOWER)), "\n";
34 echo bin2hex(mb_convert_case($str, MB_CASE_FOLD)), "\n";
36 echo "\n";
40 echo bin2hex(mb_convert_case($str, MB_CASE_UPPER)), "\n";
42 echo bin2hex(mb_convert_case($str, MB_CASE_FOLD)), "\n";
44 echo "\n";
50 echo bin2hex(mb_convert_case($str, MB_CASE_FOLD)), "\n";
[all …]
/PHP-7.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".
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".
18 jdtojewish(gregoriantojd(3,10,2007))."\r\n");
20 echo jdtojewish(gregoriantojd(11,5,2002)) . "\n";
21 echo jdtojewish(gregoriantojd(11,29,2004)) . "\n";
22 echo jdtojewish(gregoriantojd(1,1,9998)) . "\n";
[all …]
/PHP-7.4/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 …]
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";
13 echo html_entity_decode("&quot;"), "\n";
14 echo html_entity_decode("&#34;"), "\n";
16 echo "\nsingle quotes variations:", "\n";
[all …]
/PHP-7.4/tests/classes/
H A Dtype_hinting_004.phpt9 echo "in f1;\n";
12 echo "in f2;\n";
17 echo "{$ex->getCode()}: {$ex->getMessage()} - {$ex->getFile()}({$ex->getLine()})\n\n";
22 echo "{$ex->getCode()}: {$ex->getMessage()} - {$ex->getFile()}({$ex->getLine()})\n\n";
27 echo "{$ex->getCode()}: {$ex->getMessage()} - {$ex->getFile()}({$ex->getLine()})\n\n";
32 echo "{$ex->getCode()}: {$ex->getMessage()} - {$ex->getFile()}({$ex->getLine()})\n\n";
37 echo "{$ex->getCode()}: {$ex->getMessage()} - {$ex->getFile()}({$ex->getLine()})\n\n";
42 echo "{$ex->getCode()}: {$ex->getMessage()} - {$ex->getFile()}({$ex->getLine()})\n\n";
45 echo "\n\n---> Type hints with callback static method:\n";
66 echo "{$ex->getCode()}: {$ex->getMessage()} - {$ex->getFile()}({$ex->getLine()})\n\n";
[all …]
/PHP-7.4/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-7.4/ext/ftp/tests/
H A Dserver.inc18 echo "$errstr ($errno)\n";
46 fputs($fs, "\r\n");
124 fputs($s, "200 OK\r\n");
132 fputs($s, "200 OK\r\n");
184 fputs($s, " USER\r\n");
185 fputs($s, " HELP\r\n");
204 fputs($s, "\r\n" . str_repeat("*", 4096) . "\r\n");
211 fputs($s, "200 OK\r\n");
219 fputs($s, "200 OK\r\n");
227 fputs($s, "200 OK.\r\n");
[all …]

Completed in 76 milliseconds

12345678910>>...266