Home
last modified time | relevance | path

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

12345678910>>...281

/PHP-8.3/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 Dobject_handlers.phpt43 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";
57 echo $y,"\n";
61 echo $y,"\n";
63 echo $y,"\n";
[all …]
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";
42 echo "9\n";
52 echo "bak\n";
55 echo "12\n";
[all …]
/PHP-8.3/tests/strings/
H A D002.phpt8 echo "\n";
12 printf("printf test 2:%d\n", 42);
13 printf("printf test 3:%f\n", 10.0/3);
14 printf("printf test 4:%.10f\n", 10.0/3);
15 printf("printf test 5:%-10.2f\n", 2.5);
17 printf("printf test 7:%010.2f\n", 2.5);
25 printf("printf test 13:%5d\n", -12);
26 printf("printf test 14:%c\n", 64);
27 printf("printf test 15:%b\n", 170);
28 printf("printf test 16:%x\n", 170);
[all …]
/PHP-8.3/ext/gettext/tests/66265/de_DE/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:40+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-8.3/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-8.3/ext/standard/tests/strings/
H A Dcrc32.phpt7 printf("%u\n", crc32($i));
9 printf("%u\n", crc32("1234567890123456"));
10 printf("%u\n", crc32("1234567890123456abc"));
11 printf("%u\n", crc32("12345678901234561234567890123456"));
12 printf("%u\n", crc32("12345678901234561234567890123456abc"));
13 printf("%u\n", crc32("123456789012345612345678901234561234567890123456"));
14 printf("%u\n", crc32("123456789012345612345678901234561234567890123456abc"));
15 printf("%u\n", crc32("1234567890123456123456789012345612345678901234561234567890123456"));
16 printf("%u\n", crc32("1234567890123456123456789012345612345678901234561234567890123456abc"));
17 printf("%u\n", crc32("12345678901234561234567890123456123456789012345612345678901234561234567890123…
[all …]
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-8.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 …]
/PHP-8.3/ext/gmp/tests/
H A Dgmp_nextprime.phpt8 $n = gmp_nextprime(-1);
9 var_dump(gmp_strval($n));
10 $n = gmp_nextprime(0);
11 var_dump(gmp_strval($n));
12 $n = gmp_nextprime(-1000);
13 var_dump(gmp_strval($n));
14 $n = gmp_nextprime(1000);
15 var_dump(gmp_strval($n));
16 $n = gmp_nextprime(100000);
17 var_dump(gmp_strval($n));
[all …]
/PHP-8.3/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 …]
H A Dmb_substr.phpt27 echo "EUC-JP:\n";
32 print ($str === "") ? "3 OK\n" : "BAD: " . bin2hex($str) . "\n";
37 echo "SJIS:\n";
47 echo "SJIS-2004:\n";
51 echo "MacJapanese:\n";
86 echo "GB-18030:\n";
93 echo "HZ:\n";
100 echo "UTF-8:\n";
107 echo "UTF-32:\n";
114 echo "UTF-7:\n";
[all …]
/PHP-8.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=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-8.3/ext/opcache/jit/dynasm/
H A Ddasm_mips.lua961 op = op + shl(parse_gpr(params[n]), 11); n = n + 1
963 op = op + shl(parse_gpr(params[n]), 16); n = n + 1
965 op = op + shl(parse_gpr(params[n]), 21); n = n + 1
967 op = op + shl(parse_fpr(params[n]), 6); n = n + 1
969 op = op + shl(parse_fpr(params[n]), 11); n = n + 1
971 op = op + shl(parse_fpr(params[n]), 16); n = n + 1
973 op = op + shl(parse_fpr(params[n]), 21); n = n + 1
979 op = op + parse_disp(params[n]); n = n + 1
981 op = op + parse_index(params[n]); n = n + 1
988 n = n + 1
[all …]
H A Ddasm_arm64.lua93 assert(n >= 0 and n <= 0xffffffff and n % 1 == 0, "word out of range")
129 assert(n >= 0 and n <= 0xffffffff and n % 1 == 0, "word out of range")
364 if n and n % 1 == 0 and n >= 0 and n <= 0xffffffff then
366 if band(n, 1) == 1 then n = bit.bnot(n); inv = true end
368 for i=1,32 do t[i] = band(n, 1); n = shr(n, 1) end
400 if n >= 0 and n <= 63 then
416 elseif n >= -256 and n < 256 then
453 n = tonumber(n)
980 n = n + 1
1079 if n == imm or (n < 0 and n + 2^32 == imm) then
[all …]
H A Ddasm_arm.h171 for (i = 0; i < 16; i++, n = (n << 2) | (n >> 30)) in dasm_imm12()
172 if (n <= 255) return (int)(n + (i << 8)); in dasm_imm12()
238 while (n > 0) { int *pb = DASM_POS2PTR(D, n); n = *pb; *pb = pos; in dasm_put()
260 CK(n >= 0 ? ((n>>((ins>>5)&31)) == 0) : in dasm_put()
300 while (n > 0) { int *pb = DASM_POS2PTR(D, n); n = *pb; *pb = -idx; } in dasm_link()
387 CK((n & 3) == 0 && -256 <= n && n <= 256, RANGE_REL); in dasm_encode()
390 CK((n & 3) == 0 && -4096 <= n && n <= 4096, RANGE_REL); in dasm_encode()
393 CK((n & 3) == 0 && -1020 <= n && n <= 1020, RANGE_REL); in dasm_encode()
412 cp[-1] |= n >= 0 ? (0x00800000 | (n & 0x0f) | ((n & 0xf0) << 4)) : in dasm_encode()
413 ((-n & 0x0f) | ((-n & 0xf0) << 4)); in dasm_encode()
[all …]
H A Ddasm_arm.lua91 assert(n >= 0 and n <= 0xffffffff and n % 1 == 0, "word out of range")
127 assert(n >= 0 and n <= 0xffffffff and n % 1 == 0, "word out of range")
654 if n >= -255 and n <= 255 then
656 if n < 0 then n = -n; up = 0 end
660 if n >= -4095 and n <= 4095 then
661 if n >= 0 then return n+0x00800000 end
799 if n >= -1020 and n <= 1020 and n%4 == 0 then
800 return d + (n >= 0 and n/4+0x00800000 or -n/4)
858 n = n + 1
884 n = n + 1
[all …]
/PHP-8.3/ext/ftp/tests/
H A Dserver.inc9 echo "$errstr ($errno)\n";
90 fputs($s, "200 OK\r\n");
98 fputs($s, "200 OK\r\n");
103 if ($buf == "AUTH TLS\r\n") {
148 fputs($s, " USER\r\n");
149 fputs($s, " HELP\r\n");
168 fputs($s, "\r\n" . str_repeat("*", 4096) . "\r\n");
175 fputs($s, "200 OK\r\n");
183 fputs($s, "200 OK\r\n");
186 fputs($s, "221 Bye\r\n");
[all …]
/PHP-8.3/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-8.3/ext/mysqli/tests/
H A Dmysqli_real_escape_string_unicode.phpt19 printf("[004] Expecting фу\\\\бар, got %s\n", $tmp);
22 printf("[005] Expecting бар\"фус, got %s\n", $tmp);
25 printf("[006] Expecting лала'лали, got %s\n", $tmp);
27 if ("абра\\nкадабра" !== ($tmp = mysqli_real_escape_string($link, "абра\nкадабра")))
28 printf("[007] Expecting абра\\nкадабра, got %s\n", $tmp);
31 printf("[008] Expecting \\r, got %s\n", $tmp);
43 printf("[011] Expecting 富\\\\酒吧, got %s\n", $tmp);
49 printf("[013] Expecting 拉拉'西雅图, got %s\n", $tmp);
51 if ("阿卜拉\\n轻" !== ($tmp = mysqli_real_escape_string($link, "阿卜拉\n轻")))
52 printf("[014] Expecting 阿卜拉\\n轻, got %s\n", $tmp);
[all …]
/PHP-8.3/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-8.3/ext/standard/tests/general_functions/
H A Disset_basic1.phpt7 echo "*** Testing isset() : basic functionality ***\n";
14 $n = NULL;
18 echo "Integer test: " . (isset($i) ? "YES": "NO") . "\n";
19 echo "Float test: " . (isset($f) ? "YES": "NO") . "\n";
20 echo "String test: " . (isset($s) ? "YES": "NO") . "\n";
21 echo "Array test: " . (isset($a) ? "YES": "NO") . "\n";
23 echo "Null test: " . (isset($n) ? "YES": "NO") . "\n";
27 echo "\n\nUnset the variables\n\n";
28 unset($i, $f, $s, $a, $b, $n, $obj, $res);
31 echo "Float test: " . (isset($f) ? "YES": "NO") . "\n";
[all …]

Completed in 56 milliseconds

12345678910>>...281