Home
last modified time | relevance | path

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

12345678910>>...296

/php-src/Zend/tests/offsets/
H A Dtest_variable_offsets.inc7 echo "Read before write:\n";
10 echo $e->getMessage(), "\n";
14 echo "Write:\n";
21 echo "Read:\n";
28 echo "Read-Write:\n";
35 echo "isset():\n";
41 echo "empty():\n";
47 echo "null coalesce:\n";
66 echo "unset():\n";
73 echo "Nested read:\n";
[all …]
/php-src/ext/standard/tests/strings/
H A Dnl2br.phpt7 var_dump(nl2br("\r\n"));
8 var_dump(nl2br("\n"));
10 var_dump(nl2br("\n\r"));
12 var_dump(nl2br("\n\r\r\n\r\r\r\r"));
13 var_dump(nl2br("\n\r\n\n\r\n\r\r\n\r\n"));
14 var_dump(nl2br("\n\r\n\n\n\n\r\r\r\r\n\r"));
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 …]
/php-src/ext/hash/tests/
H A Dhash_hkdf_basic.phpt6 echo "*** Testing hash_hkdf(): basic functionality ***\n";
10 echo 'md2: ', bin2hex(hash_hkdf('md2', $ikm)), "\n";
11 echo 'md4: ', bin2hex(hash_hkdf('md4', $ikm)), "\n";
12 echo 'md5: ', bin2hex(hash_hkdf('md5', $ikm)), "\n";
13 echo 'sha1: ', bin2hex(hash_hkdf('sha1', $ikm)), "\n";
14 echo 'sha224: ', bin2hex(hash_hkdf('sha224', $ikm)), "\n";
15 echo 'sha256: ', bin2hex(hash_hkdf('sha256', $ikm)), "\n";
16 echo 'sha384: ', bin2hex(hash_hkdf('sha384', $ikm)), "\n";
17 echo 'sha512: ', bin2hex(hash_hkdf('sha512', $ikm)), "\n";
44 echo 'snefru: ', bin2hex(hash_hkdf('snefru', $ikm)), "\n";
[all …]
/php-src/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-src/ext/gettext/tests/66265/en_US/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: \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-src/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-src/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-src/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-src/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-src/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-src/ext/opcache/jit/ir/dynasm/
H A Ddasm_arm.h166 for (i = 0; i < 16; i++, n = (n << 2) | (n >> 30)) in dasm_imm12()
167 if (n <= 255) return (int)(n + (i << 8)); in dasm_imm12()
233 while (n > 0) { int *pb = DASM_POS2PTR(D, n); n = *pb; *pb = pos; in dasm_put()
255 CK(n >= 0 ? ((n>>((ins>>5)&31)) == 0) : in dasm_put()
295 while (n > 0) { int *pb = DASM_POS2PTR(D, n); n = *pb; *pb = -idx; } in dasm_link()
382 CK((n & 3) == 0 && -256 <= n && n <= 256, RANGE_REL); in dasm_encode()
385 CK((n & 3) == 0 && -4096 <= n && n <= 4096, RANGE_REL); in dasm_encode()
388 CK((n & 3) == 0 && -1020 <= n && n <= 1020, RANGE_REL); in dasm_encode()
407 cp[-1] |= n >= 0 ? (0x00800000 | (n & 0x0f) | ((n & 0xf0) << 4)) : in dasm_encode()
408 ((-n & 0x0f) | ((-n & 0xf0) << 4)); in dasm_encode()
[all …]
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)
987 n = n + 1
1086 if n == imm or (n < 0 and n + 2^32 == imm) then
[all …]
/php-src/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-src/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-src/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-src/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-src/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-src/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 …]

Completed in 56 milliseconds

12345678910>>...296