/PHP-8.1/ext/opcache/jit/libudis86/ |
H A D | decode.h | 39 #define P_INV64(n) ( ( n >> 0 ) & 1 ) argument 41 #define P_DEF64(n) ( ( n >> 1 ) & 1 ) argument 44 #define P_OSO(n) ( ( n >> 2 ) & 1 ) argument 46 #define P_ASO(n) ( ( n >> 3 ) & 1 ) argument 49 #define P_REXB(n) ( ( n >> 4 ) & 1 ) argument 51 #define P_REXW(n) ( ( n >> 5 ) & 1 ) argument 53 #define P_REXR(n) ( ( n >> 6 ) & 1 ) argument 55 #define P_REXX(n) ( ( n >> 7 ) & 1 ) argument 58 #define P_SEG(n) ( ( n >> 8 ) & 1 ) argument 61 #define P_VEXL(n) ( ( n >> 9 ) & 1 ) argument [all …]
|
/PHP-8.1/ext/hash/tests/ |
H A D | hash_hkdf_basic.phpt | 6 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-8.1/tests/strings/ |
H A D | 002.phpt | 8 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.1/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_ucs4.c | 147 int n, endian; in mbfl_filt_conv_ucs4_wchar() local 153 n = c & 0xff; in mbfl_filt_conv_ucs4_wchar() 157 filter->cache = n; in mbfl_filt_conv_ucs4_wchar() 166 filter->cache |= n; in mbfl_filt_conv_ucs4_wchar() 182 n = c & 0xff; in mbfl_filt_conv_ucs4_wchar() 185 if ((n & 0xffff) == 0 && ((n >> 16) & 0xffff) == 0xfffe) { in mbfl_filt_conv_ucs4_wchar() 206 int n; in mbfl_filt_conv_ucs4be_wchar() local 211 filter->cache = n; in mbfl_filt_conv_ucs4be_wchar() 250 int n; in mbfl_filt_conv_ucs4le_wchar() local 254 n = (c & 0xff); in mbfl_filt_conv_ucs4le_wchar() [all …]
|
H A D | mbfilter_tl_jisx0201_jisx0208.c | 65 int n = c - 0xff60; in mbfl_convert_kana() local 67 if (next == 0xff9e && ((n >= 22 && n <= 36) || (n >= 42 && n <= 46))) { in mbfl_convert_kana() 70 } else if (next == 0xff9e && n == 19) { in mbfl_convert_kana() 73 } else if (next == 0xff9f && n >= 42 && n <= 46) { in mbfl_convert_kana() 83 int n = c - 0xff60; in mbfl_convert_kana() local 85 if (next == 0xff9e && ((n >= 22 && n <= 36) || (n >= 42 && n <= 46))) { in mbfl_convert_kana() 88 } else if (next == 0xff9f && n >= 42 && n <= 46) { in mbfl_convert_kana() 149 int n = c - 0x30a1; in mbfl_convert_kana() local 150 if (zenkana2hankana_table[n][1]) { in mbfl_convert_kana() 156 int n = c - 0x3041; in mbfl_convert_kana() local [all …]
|
/PHP-8.1/ext/gettext/tests/66265/en_US/LC_MESSAGES/ |
H A D | domain.po | 3 "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-8.1/Zend/tests/ |
H A D | bug71300.phpt | 6 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 D | object_handlers.phpt | 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"; 57 echo $y,"\n"; 61 echo $y,"\n"; 63 echo $y,"\n"; [all …]
|
H A D | bug66608.phpt | 7 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.1/ext/gettext/tests/66265/de_DE/LC_MESSAGES/ |
H A D | domain.po | 3 "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.1/ext/gettext/tests/66265/fr_FR/LC_MESSAGES/ |
H A D | domain.po | 3 "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.1/ext/standard/tests/strings/ |
H A D | crc32.phpt | 7 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-8.1/ext/pcre/tests/ |
H A D | bug41148.phpt | 10 /* 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 />— ", 29 /* 2 */ "\n<br />$puce ", 30 /* 3 */ "\n<br />", 31 /* 4 */ "\$1\n\n$debut_intertitre", [all …]
|
/PHP-8.1/ext/gmp/tests/ |
H A D | gmp_nextprime.phpt | 8 $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.1/ext/date/tests/ |
H A D | timezones-list.phpt | 10 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 D | bug33414-1.phpt | 13 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 D | bug32086.phpt | 8 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.1/ext/mysqli/tests/ |
H A D | mysqli_real_escape_string_unicode.phpt | 16 printf("[004] Expecting фу\\\\бар, got %s\n", $tmp); 19 printf("[005] Expecting бар\"фус, got %s\n", $tmp); 22 printf("[006] Expecting лала'лали, got %s\n", $tmp); 24 if ("абра\\nкадабра" !== ($tmp = mysqli_real_escape_string($link, "абра\nкадабра"))) 25 printf("[007] Expecting абра\\nкадабра, got %s\n", $tmp); 28 printf("[008] Expecting \\r, got %s\n", $tmp); 40 printf("[011] Expecting 富\\\\酒吧, got %s\n", $tmp); 46 printf("[013] Expecting 拉拉'西雅图, got %s\n", $tmp); 48 if ("阿卜拉\\n轻" !== ($tmp = mysqli_real_escape_string($link, "阿卜拉\n轻"))) 49 printf("[014] Expecting 阿卜拉\\n轻, got %s\n", $tmp); [all …]
|
/PHP-8.1/ext/opcache/jit/dynasm/ |
H A D | dasm_mips.lua | 961 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 D | dasm_arm64.lua | 93 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 D | dasm_arm.h | 171 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 …]
|
/PHP-8.1/ext/ftp/tests/ |
H A D | server.inc | 9 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.1/ext/mbstring/tests/ |
H A D | casemapping.phpt | 9 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-8.1/tests/classes/ |
H A D | type_hinting_004.phpt | 9 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.1/ext/calendar/tests/ |
H A D | jdtojewish.phpt | 8 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 …]
|