/PHP-7.0/ext/standard/tests/strings/ |
H A D | money_format_basic1.phpt | 29 echo gettype(money_format('%14#8.2n', $value))."\n"; 30 echo gettype(money_format('%14#8.2n', $negative_value))."\n"; 34 echo gettype(money_format('%(14#8.2n', $value))."\n"; 35 echo gettype(money_format('%(14#8.2n', $negative_value))."\n"; 39 echo gettype(money_format('%=014#8.2n', $value))."\n"; 40 echo gettype(money_format('%=014#8.2n', $negative_value))."\n"; 44 echo gettype(money_format('%=*14#8.2n', $value))."\n"; 45 echo gettype(money_format('%=*14#8.2n', $negative_value))."\n"; 49 echo gettype(money_format('%=*^14#8.2n', $value))."\n"; 50 echo gettype(money_format('%=*^14#8.2n', $negative_value))."\n"; [all …]
|
/PHP-7.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 …]
|
/PHP-7.0/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_tl_jisx0201_jisx0208.c | 43 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 D | mbfilter_utf7.c | 96 int s, n; in mbfl_filt_conv_utf7_wchar() local 98 n = -1; in mbfl_filt_conv_utf7_wchar() 107 n = 62; in mbfl_filt_conv_utf7_wchar() 109 n = 63; in mbfl_filt_conv_utf7_wchar() 111 if (n < 0 || n > 63) { in mbfl_filt_conv_utf7_wchar() 155 n = (n & 0x3) << 14; in mbfl_filt_conv_utf7_wchar() 187 n = (n & 0xf) << 12; in mbfl_filt_conv_utf7_wchar() 251 n = 0; in mbfl_filt_conv_wchar_utf7() 254 n = 1; in mbfl_filt_conv_wchar_utf7() 418 int n; in mbfl_filt_ident_utf7() local [all …]
|
/PHP-7.0/Zend/tests/ |
H A D | object_handlers.phpt | 41 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 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 | 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"; 38 echo "8\n"; 42 echo "9\n"; 55 echo "12\n"; [all …]
|
H A D | bug31098.phpt | 19 echo isset($simpleString->wrong)?"bug\n":"ok\n"; 20 echo isset($simpleString["wrong"])?"bug\n":"ok\n"; 21 echo isset($simpleString[-1])?"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 …]
|
H A D | bug46304.phpt | 13 print NS1\ns2\const1 . "\n"; 14 print ns1\ns2\const1 . "\n"; 15 print ns1\NS2\const1 . "\n"; 17 print NS1\ns2\const2 . "\n"; 18 print ns1\ns2\const2 . "\n"; 19 print ns1\NS2\const2 . "\n"; 21 print NS1\ns2\coNSt3 . "\n"; 22 print ns1\ns2\coNSt3 . "\n"; 23 print ns1\ns2\coNSt3 . "\n"; 25 print NS1\ns2\const4 . "\n"; [all …]
|
/PHP-7.0/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-7.0/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-7.0/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-7.0/ext/gmp/tests/ |
H A D | gmp_nextprime.phpt | 9 $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 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); 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.0/ext/ftp/tests/ |
H A D | server.inc | 18 echo "$errstr ($errno)\n"; 51 fputs($fs, "\r\n"); 130 fputs($s, "200 OK\r\n"); 138 fputs($s, "200 OK\r\n"); 190 fputs($s, " USER\r\n"); 191 fputs($s, " HELP\r\n"); 213 fputs($s, "200 OK\r\n"); 221 fputs($s, "200 OK\r\n"); 229 fputs($s, "200 OK.\r\n"); 248 …|| isset($bug39583)) && $data === strtr($orig, array("\r\n" => "\n", "\r" => "\n", "\n" => "\r\n")… [all …]
|
/PHP-7.0/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=Friday 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-7.0/ext/mysqli/tests/ |
H A D | reflection_tools.inc | 6 printf("\nInspecting class '%s'\n", $class->getName()); 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); 56 printf("Constant '%s' = '%s'\n", $name, $value); 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 D | mysqli_real_escape_string_unicode.phpt | 28 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.0/tests/classes/ |
H A D | type_hinting_004.phpt | 14 echo "in f1;\n"; 17 echo "in f2;\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"; 47 echo "{$ex->getCode()}: {$ex->getMessage()} - {$ex->getFile()}({$ex->getLine()})\n\n"; 50 echo "\n\n---> Type hints with callback static method:\n"; 71 echo "{$ex->getCode()}: {$ex->getMessage()} - {$ex->getFile()}({$ex->getLine()})\n\n"; [all …]
|
/PHP-7.0/ext/mbstring/tests/ |
H A D | mb_internal_encoding.phpt | 14 ($r === TRUE) ? print "OK_EUC-JP_SET\n" : print "NG_EUC-JP_SET\n"; 16 print "$enc\n"; 20 ($r === TRUE) ? print "OK_UTF-8_SET\n" : print "NG_UTF-8_SET\n"; 22 print "$enc\n"; 26 ($r === TRUE) ? print "OK_ASCII_SET\n" : print "NG_ASCII_SET\n"; 28 print "$enc\n"; 35 ($r === false) ? print "OK_BAD_SET\n" : print "NG_BAD_SET\n"; 37 print "$enc\n"; 40 ($r === NULL) ? print "OK_BAD_ARY_SET\n" : print "NG_BAD_ARY_SET\n"; 42 print "$enc\n"; [all …]
|
H A D | mb_http_output.phpt | 14 ($r === TRUE) ? print "OK_ASCII_SET\n" : print "NG_ASCII_SET\n"; 16 print "$enc\n"; 20 ($r === TRUE) ? print "OK_SJIS_SET\n" : print "NG_SJIS_SET\n"; 22 print "$enc\n"; 26 ($r === TRUE) ? print "OK_JIS_SET\n" : print "NG_JIS_SET\n"; 28 print "$enc\n"; 34 print "$enc\n"; 40 print "$enc\n"; 47 ($r === FALSE) ? print "OK_BAD_SET\n" : print "NG_BAD_SET\n"; 49 print "$enc\n"; [all …]
|
/PHP-7.0/ext/hash/tests/ |
H A D | crc32.phpt | 7 echo hash('crc32', ''), "\n"; 8 echo hash('crc32', 'a'), "\n"; 9 echo hash('crc32', 'abc'), "\n"; 10 echo hash('crc32', 'message digest'), "\n"; 11 echo hash('crc32', 'abcdefghijklmnopqrstuvwxyz'), "\n"; 12 echo hash('crc32', 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'), "\n"; 14 echo hash('crc32b', ''), "\n"; 15 echo hash('crc32b', 'a'), "\n"; 16 echo hash('crc32b', 'abc'), "\n"; 17 echo hash('crc32b', 'message digest'), "\n"; [all …]
|
/PHP-7.0/ext/dom/tests/ |
H A D | dom_create_element.phpt | 12 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 …]
|