/PHP-8.0/ext/tokenizer/tests/ |
H A D | 001.phpt | 9 echo token_name(T_INCLUDE), "\n"; 11 echo token_name(T_EVAL), "\n"; 12 echo token_name(T_REQUIRE), "\n"; 17 echo token_name(T_PRINT), "\n"; 37 echo token_name(T_SL), "\n"; 38 echo token_name(T_SR), "\n"; 39 echo token_name(T_INC), "\n"; 40 echo token_name(T_DEC), "\n"; 50 echo token_name(T_IF), "\n"; 127 echo token_name(-1), "\n"; [all …]
|
/PHP-8.0/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_utf16.c | 156 if (n >= 0xd800 && n < 0xdc00) { in mbfl_filt_conv_utf16_wchar() 158 } else if (n >= 0xdc00 && n < 0xe000) { in mbfl_filt_conv_utf16_wchar() 159 n &= 0x3ff; in mbfl_filt_conv_utf16_wchar() 198 int n; in mbfl_filt_conv_utf16be_wchar() local 209 if (n >= 0xd800 && n < 0xdc00) { in mbfl_filt_conv_utf16be_wchar() 211 } else if (n >= 0xdc00 && n < 0xe000) { in mbfl_filt_conv_utf16be_wchar() 237 int n; in mbfl_filt_conv_wchar_utf16be() local 261 int n; in mbfl_filt_conv_utf16le_wchar() local 272 if (n >= 0xd800 && n < 0xdc00) { in mbfl_filt_conv_utf16le_wchar() 274 } else if (n >= 0xdc00 && n < 0xe000) { in mbfl_filt_conv_utf16le_wchar() [all …]
|
H A D | mbfilter_utf32.c | 135 int n, endian; in mbfl_filt_conv_utf32_wchar() local 141 n = c & 0xff; in mbfl_filt_conv_utf32_wchar() 173 if ((n & 0xffff) == 0 && ((n >> 16) & 0xffff) == 0xfffe) { in mbfl_filt_conv_utf32_wchar() 182 if (n < MBFL_WCSPLANE_UTF32MAX && (n < 0xd800 || n > 0xdfff)) { in mbfl_filt_conv_utf32_wchar() 185 n = (n & MBFL_WCSGROUP_MASK) | MBFL_WCSGROUP_THROUGH; in mbfl_filt_conv_utf32_wchar() 200 int n; in mbfl_filt_conv_utf32be_wchar() local 217 if (n < MBFL_WCSPLANE_UTF32MAX && (n < 0xd800 || n > 0xdfff)) { in mbfl_filt_conv_utf32be_wchar() 220 n = (n & MBFL_WCSGROUP_MASK) | MBFL_WCSGROUP_THROUGH; in mbfl_filt_conv_utf32be_wchar() 249 int n; in mbfl_filt_conv_utf32le_wchar() local 266 if (n < MBFL_WCSPLANE_UTF32MAX && (n < 0xd800 || n > 0xdfff)) { in mbfl_filt_conv_utf32le_wchar() [all …]
|
/PHP-8.0/Zend/tests/ |
H A D | compound_assign_with_numeric_strings.phpt | 6 $n = "65"; 7 $n <<= $n; 10 $n = "-1"; 12 $n <<= $n; 18 $n = "65"; 19 $n >>= $n; 22 $n = "-1"; 24 $n >>= $n; 30 $n = "0"; 32 $n %= $n; [all …]
|
H A D | gc_038.phpt | 14 echo "+=\t$n\n"; 25 echo "-=\t$n\n"; 36 echo "*=\t$n\n"; 47 echo "/=\t$n\n"; 58 echo "%=\t$n\n"; 69 echo "<<=\t$n\n"; 80 echo ">>=\t$n\n"; 91 echo "|=\t$n\n"; 102 echo "&=\t$n\n"; 113 echo "^=\t$n\n"; [all …]
|
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;
|
/PHP-8.0/ext/standard/tests/strings/ |
H A D | sprintf_star.phpt | 11 printf("%.*f\n", 10, $f); 12 printf("%.*G\n", 10, $f); 13 printf("%.*g\n", -1, $fx); 14 printf("%.*G\n", -1, $fx); 15 printf("%.*h\n", -1, $fx); 18 echo "\n"; 20 printf("%*f\n", 10, $f); 21 printf("%*G\n", 10, $f); 23 echo "\n"; 28 echo "\n"; [all …]
|
H A D | crc32_variation4.phpt | 14 echo "*** Testing crc32() : with different heredoc strings ***\n"; 21 \n 32 hello\tworld\nhello\nworld\n 60 /n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n 78 echo "\n-- Iteration $count --\n";
|
H A D | crc32_variation2.phpt | 14 echo "*** Testing crc32() : with different strings in single quotes ***\n"; 38 '\nhello world\n', 39 '\n\thelloworld', 40 'hel\tlo\n world', 55 /n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n' 62 echo "\n-- Iteration $count --\n";
|
H A D | crc32_variation3.phpt | 14 echo "*** Testing crc32() : with different strings in double quotes ***\n"; 40 "\nhello world\n", 41 "\n\thelloworld", 42 "hel\tlo\n world", 57 /n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n" 64 echo "\n-- Iteration $count --\n";
|
H A D | substr_replace.phpt | 8 echo "\n"; 13 echo "\n"; 18 echo "\n"; 23 echo "\n"; 28 echo "\n"; 29 echo "\n"; 30 echo "\n"; 39 echo "\n"; 42 echo "\n"; 44 echo "\n"; [all …]
|
H A D | bug26973.phpt | 6 printf("%+05d\n", 200); 7 printf("%+05d\n", -200); 8 printf("%+05f\n", 200); 9 printf("%+05f\n", -200); 10 printf("%+05u\n", 200); 11 printf("%+05u\n", -200); 12 echo "---\n"; 13 printf("%05d\n", 200); 14 printf("%05d\n", -200); 15 printf("%05f\n", 200); [all …]
|
H A D | printf.phpt | 61 echo "\n\n*** Output for float type ***\n"; 80 echo "\n\n*** Output for integer type ***\n"; 98 echo "\n\n*** Output for binary type ***\n"; 110 echo "\n\n*** Output for char type ***\n"; 121 echo "\n\n*** Output for scientific type ***\n"; 132 echo "\n\n*** Output for unsigned integer type ***\n"; 143 echo "\n\n*** Output for octal type ***\n"; 154 echo "\n\n*** Output for hexadecimal type ***\n"; 165 echo "\n\n*** Output for string type ***\n"; 184 echo "\n\n*** Output for '%g' type ***\n"; [all …]
|
H A D | printf_64bit.phpt | 61 echo "\n\n*** Output for float type ***\n"; 80 echo "\n\n*** Output for integer type ***\n"; 98 echo "\n\n*** Output for binary type ***\n"; 110 echo "\n\n*** Output for char type ***\n"; 121 echo "\n\n*** Output for scientific type ***\n"; 132 echo "\n\n*** Output for unsigned integer type ***\n"; 143 echo "\n\n*** Output for octal type ***\n"; 154 echo "\n\n*** Output for hexadecimal type ***\n"; 165 echo "\n\n*** Output for string type ***\n"; 184 echo "\n\n*** Output for '%g' type ***\n"; [all …]
|
H A D | nl2br.phpt | 8 var_dump(nl2br("\r\n")); 9 var_dump(nl2br("\n")); 11 var_dump(nl2br("\n\r")); 13 var_dump(nl2br("\n\r\r\n\r\r\r\r")); 14 var_dump(nl2br("\n\r\n\n\r\n\r\r\n\r\n")); 15 var_dump(nl2br("\n\r\n\n\n\n\r\r\r\r\n\r"));
|
/PHP-8.0/ext/mbstring/tests/ |
H A D | mb_stripos.phpt | 48 ($r === FALSE) ? print "OK_OUT_RANGE\n" : print "NG_OUT_RANGE\n"; 50 ($r === FALSE) ? print "OK_OUT_RANGE\n" : print "NG_OUT_RANGE\n"; 52 ($r === FALSE) ? print "OK_OUT_RANGE\n" : print "NG_OUT_RANGE\n"; 54 ($r === FALSE) ? print "OK_OUT_RANGE\n" : print "NG_OUT_RANGE\n"; 56 ($r === FALSE) ? print "OK_OUT_RANGE\n" : print "NG_OUT_RANGE\n"; 69 ($r === FALSE) ? print "OK_STR\n" : print "NG_STR\n"; 71 ($r === FALSE) ? print "OK_NEWLINE\n" : print "NG_NEWLINE\n"; 85 ($r === FALSE) ? print "OK_STR\n" : print "NG_STR\n"; 87 ($r === FALSE) ? print "OK_NEWLINE\n" : print "NG_NEWLINE\n"; 100 ($r === FALSE) ? print "OK_STR\n" : print "NG_STR\n"; [all …]
|
H A D | mb_strpos.phpt | 17 echo "String len: $slen\n"; 22 echo "== POSITIVE OFFSET ==\n"; 35 echo "== NEGATIVE OFFSET ==\n"; 45 echo "== NON-EXISTENT ==\n"; 48 ($r === FALSE) ? print "OK_STR\n" : print "NG_STR\n"; 50 ($r === FALSE) ? print "OK_NEWLINE\n" : print "NG_NEWLINE\n"; 64 ($r === FALSE) ? print "OK_STR\n" : print "NG_STR\n"; 66 ($r === FALSE) ? print "OK_NEWLINE\n" : print "NG_NEWLINE\n"; 79 ($r === FALSE) ? print "OK_STR\n" : print "NG_STR\n"; 80 $r = mb_strpos($euc_jp, "\n"); [all …]
|
/PHP-8.0/ext/standard/tests/general_functions/ |
H A D | 003.phpt | 18 echo "\n"; 23 $n=0; 25 $n += test_me("equal" , 0, "12345", "12345"); 26 $n += test_me("1st empty" , 3, "", "xzy"); 27 $n += test_me("2nd empty" , 3, "xzy", ""); 28 $n += test_me("both empty" , 0, "", ""); 48 $n += test_me("bug #16473", 2, "a", "bc"); 49 $n += test_me("bug #16473", 2, "xa", "xbc"); 50 $n += test_me("bug #16473", 2, "xax", "xbcx"); 51 $n += test_me("bug #16473", 2, "ax", "bcx"); [all …]
|
/PHP-8.0/ext/gmp/tests/ |
H A D | gmp_testbit.phpt | 8 $n = gmp_init(0); 20 $n = gmp_init(-1); 28 $n = gmp_init("1000000"); 30 gmp_setbit($n, 1); 32 var_dump(gmp_strval($n)); 34 gmp_setbit($n, 5); 36 var_dump(gmp_strval($n)); 40 gmp_setbit($n, 5); 42 var_dump(gmp_strval($n)); 44 gmp_clrbit($n, 5); [all …]
|
H A D | gmp_setbit.phpt | 8 $n = gmp_init(-1); 9 gmp_setbit($n, 10, -1); 10 var_dump(gmp_strval($n)); 12 $n = gmp_init(5); 20 $n = gmp_init(5); 21 gmp_setbit($n, 2, 0); 24 $n = gmp_init(5); 25 gmp_setbit($n, 1, 1); 29 gmp_setbit($n, 23, 1); 35 gmp_setbit($n, 3); [all …]
|
H A D | gmp_clrbit.phpt | 8 $n = gmp_init(0); 9 gmp_clrbit($n, 0); 10 var_dump(gmp_strval($n)); 12 $n = gmp_init(-1); 14 gmp_clrbit($n, -1); 29 gmp_clrbit($n, 3); 33 gmp_clrbit($n, 3); 34 gmp_clrbit($n, 5); 35 gmp_clrbit($n, 20); 38 $n = array(); [all …]
|
/PHP-8.0/ext/standard/tests/math/ |
H A D | bug25694.phpt | 7 echo "round 0.045 = " . round(0.045, 2) . "\n"; 8 echo "number format 0.045 = " . number_format(0.045, 2) . "\n\n"; 9 echo "round 0.055 = " . round(0.055, 2) . "\n"; 10 echo "number format 0.055 = " . number_format(0.055, 2) . "\n\n"; 11 echo "round 5.045 = " . round(5.045, 2) . "\n"; 12 echo "number format 5.045 = " . number_format(5.045, 2) . "\n\n"; 13 echo "round 5.055 = " . round(5.055, 2) . "\n"; 14 echo "number format 5.055 = " . number_format(5.055, 2) . "\n\n"; 15 echo "round 3.025 = " . round(3.025, 2) . "\n"; 16 echo "number format 3.025 = " . number_format(3.025, 2) . "\n\n"; [all …]
|
/PHP-8.0/Zend/ |
H A D | micro_bench.php | 6 function simpleucall($n) { argument 7 for ($i = 0; $i < $n; $i++) 11 function simpleudcall($n) { argument 12 for ($i = 0; $i < $n; $i++) 19 function simpleicall($n) { argument 20 for ($i = 0; $i < $n; $i++) 119 function call($n) { argument 205 function issetor($n) { argument 212 function issetor2($n) { argument 219 function ternary($n) { argument [all …]
|
/PHP-8.0/ext/hash/tests/ |
H A D | crc32.phpt | 5 echo "crc32\n"; 6 echo hash('crc32', ''), "\n"; 7 echo hash('crc32', 'a'), "\n"; 8 echo hash('crc32', 'abc'), "\n"; 28 echo "crc32b\n"; 29 echo hash('crc32b', ''), "\n"; 30 echo hash('crc32b', 'a'), "\n"; 31 echo hash('crc32b', 'abc'), "\n"; 51 echo "crc32c\n"; 52 echo hash('crc32c', ''), "\n"; [all …]
|
/PHP-8.0/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 …]
|