/PHP-8.1/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 | 48 ($r === FALSE) ? print "OK_STR\n" : print "NG_STR\n"; 50 ($r === FALSE) ? print "OK_NEWLINE\n" : print "NG_NEWLINE\n"; 60 print mb_strpos($euc_jp, 3, 0) . "\n"; 61 print mb_strpos($euc_jp, 0, 0) . "\n"; 64 ($r === FALSE) ? print "OK_STR\n" : print "NG_STR\n"; 66 ($r === FALSE) ? print "OK_NEWLINE\n" : print "NG_NEWLINE\n"; 74 print mb_strpos($euc_jp, '0') . "\n"; 75 print mb_strpos($euc_jp, 3) . "\n"; 76 print mb_strpos($euc_jp, 0) . "\n"; 79 ($r === FALSE) ? print "OK_STR\n" : print "NG_STR\n"; [all …]
|
H A D | mb_substr.phpt | 35 ($str === "") ? print "3 OK\n" : print "NG: ".bin2hex($str)."\n"; 87 print "1: " . mb_substr($hz, 0, 3, 'HZ') . "\n"; 88 print "2: " . mb_substr($hz, -1, null, 'HZ') . "\n"; 89 print "3: " . mb_substr($hz, -5, 3, 'HZ') . "\n"; 90 print "4: " . mb_substr($hz, 1, null, 'HZ') . "\n"; 91 print "5:" . mb_substr($hz, 10, 0, 'HZ') . "\n"; 94 print "1: " . mb_substr($utf8, 0, 3, 'UTF-8') . "\n"; 95 print "2: " . mb_substr($utf8, -1, null, 'UTF-8') . "\n"; 96 print "3: " . mb_substr($utf8, -5, 3, 'UTF-8') . "\n"; 97 print "4: " . mb_substr($utf8, 1, null, 'UTF-8') . "\n"; [all …]
|
H A D | mb_strcut.phpt | 26 print "== EUC-JP ==\n"; 32 ($str === "") ? print "OK\n" : print "No good\n"; 35 ($str !== "") ? print "OK\n" : print "No good\n"; 37 print "== UTF-8 ==\n"; 38 print MBStringChars(mb_strcut($utf8, 0, 0, 'UTF-8'), 'UTF-8') . "\n"; 39 print MBStringChars(mb_strcut($utf8, 0, 1, 'UTF-8'), 'UTF-8') . "\n"; 40 print MBStringChars(mb_strcut($utf8, 0, 2, 'UTF-8'), 'UTF-8') . "\n"; 41 print MBStringChars(mb_strcut($utf8, 0, 3, 'UTF-8'), 'UTF-8') . "\n"; 42 print MBStringChars(mb_strcut($utf8, 0, 4, 'UTF-8'), 'UTF-8') . "\n"; 43 print MBStringChars(mb_strcut($utf8, 0, 5, 'UTF-8'), 'UTF-8') . "\n"; [all …]
|
H A D | mb_strlen.phpt | 20 print mb_strlen($ascii,'ASCII') . "\n"; 21 print strlen($ascii) . "\n"; 24 print mb_strlen($euc_jp,'EUC-JP') . "\n"; 26 print strlen($euc_jp) . "\n"; 30 print mb_strlen($sjis,'SJIS') . "\n"; 32 print strlen($sjis) . "\n"; 35 print mb_strlen("\x80\xA1", 'SJIS') . "\n"; 65 print mb_strlen($jis,'JIS') . "\n"; 67 print strlen($jis) . "\n"; 71 print mb_strlen($utf8,'UTF-8') . "\n"; [all …]
|
H A D | mb_http_output.phpt | 13 ($r === TRUE) ? print "OK_ASCII_SET\n" : print "NG_ASCII_SET\n"; 15 print "$enc\n"; 19 ($r === TRUE) ? print "OK_SJIS_SET\n" : print "NG_SJIS_SET\n"; 21 print "$enc\n"; 25 ($r === TRUE) ? print "OK_JIS_SET\n" : print "NG_JIS_SET\n"; 27 print "$enc\n"; 31 ($r === TRUE) ? print "OK_UTF-8_SET\n" : print "NG_UTF-8_SET\n"; 33 print "$enc\n"; 37 ($r === TRUE) ? print "OK_EUC-JP_SET\n" : print "NG_EUC-JP_SET\n"; 39 print "$enc\n"; [all …]
|
H A D | mb_internal_encoding.phpt | 13 ($r === TRUE) ? print "OK_EUC-JP_SET\n" : print "NG_EUC-JP_SET\n"; 15 print "$enc\n"; 19 ($r === TRUE) ? print "OK_UTF-8_SET\n" : print "NG_UTF-8_SET\n"; 21 print "$enc\n"; 25 ($r === TRUE) ? print "OK_ASCII_SET\n" : print "NG_ASCII_SET\n"; 27 print "$enc\n"; 30 print "== INVALID PARAMETER ==\n"; 35 print 'NG_BAD_SET' . \PHP_EOL; 41 print "$enc\n";
|
H A D | mb_convert_variables.phpt | 26 print("$encoding\n"); // SJIS 27 print("$s\n"); // Converted to EUC-JP 31 print("$encoding\n"); // JIS 36 print("$encoding\n"); // EUC-JP 41 print("$encoding\n"); // EUC-JP 49 print("$encoding\n"); // EUC-JP 60 print("$encoding\n"); // EUC-JP 66 print("$encoding\n"); // EUC-JP 109 print("$encoding\n"); // EUC-JP 115 print("$encoding\n"); // EUC-JP [all …]
|
H A D | mb_detect_order.phpt | 16 ($r === TRUE) ? print "OK_AUTO\n" : print "NG_AUTO\n"; 17 print implode(', ', mb_detect_order()) . "\n"; 22 ($r === TRUE) ? print "OK_STR\n" : print "NG_STR\n"; 23 print implode(', ', mb_detect_order()) . "\n"; 32 ($r === TRUE) ? print "OK_ARRAY\n" : print "NG_ARRAY\n"; 33 print implode(', ', mb_detect_order()) . "\n"; 36 print "== INVALID PARAMETER ==\n";
|
/PHP-8.1/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 …]
|
/PHP-8.1/ext/date/tests/ |
H A D | bug33414-1.phpt | 8 print "TZ=America/Mendoza - wrong day.\n"; 15 print "TZ=America/Catamarca - wrong day.\n"; 23 print "TZ=America/Cordoba - wrong day.\n"; 31 print "TZ=America/Rosario - wrong day.\n"; 48 print "TZ=Asia/Baku - wrong day.\n"; 56 print "TZ=America/Noronha - wrong day.\n"; 64 print "TZ=America/Havana - wrong day.\n"; 72 print "TZ=Europe/Tallinn - wrong day.\n"; 80 print "TZ=Asia/Jerusalem - wrong day.\n"; 160 print "TZ=America/Lima - wrong day.\n"; [all …]
|
H A D | bug33414-2.phpt | 5 print "TZ=Pacific/Rarotonga - wrong day.\n"; 11 print "wanted=Tuesday 00:00:00\n\n"; 13 print "TZ=Atlantic/South_Georgia - wrong day.\n"; 19 print "wanted=Tuesday 00:00:00\n\n"; 27 print "wanted=Monday 00:00:00\n\n"; 35 print "wanted=Monday 00:00:00\n\n"; 43 print "wanted=Monday 00:00:00\n\n"; 45 print "TZ=America/Managua - wrong day.\n"; 53 print "TZ=Pacific/Pitcairn - wrong day.\n"; 61 print "TZ=Pacific/Fakaofo - wrong day.\n"; [all …]
|
H A D | bug33415-2.phpt | 13 print "wanted=Wednesday 00:00:00\n\n"; 21 print "wanted=Thursday 00:30:00\n\n"; 30 print "wanted=Thursday 00:00:00\n\n"; 39 print "wanted=Saturday 00:00:00\n\n"; 47 print "wanted=Thursday 03:00:00\n\n"; 56 print "wanted=Sunday 00:00:00\n\n"; 64 print "wanted=Sunday 00:30:00\n\n"; 73 print "wanted=Tuesday 00:00:00\n\n"; 82 print "wanted=Monday 00:00:00\n\n"; 90 print "wanted=Sunday 02:00:00\n\n"; [all …]
|
/PHP-8.1/Zend/tests/ |
H A D | bug46304.phpt | 10 print NS1\ns2\const1 . "\n"; 11 print ns1\ns2\const1 . "\n"; 12 print ns1\NS2\const1 . "\n"; 14 print NS1\ns2\const2 . "\n"; 15 print ns1\ns2\const2 . "\n"; 16 print ns1\NS2\const2 . "\n"; 18 print NS1\ns2\coNSt3 . "\n"; 19 print ns1\ns2\coNSt3 . "\n"; 20 print ns1\ns2\coNSt3 . "\n"; 22 print NS1\ns2\coNSt1 . "\n";
|
H A D | falsetoarray.phpt | 17 print "[001]\n"; 21 print "[002]\n"; 28 print "[003]\n"; 30 print "[004]\n"; 69 print "[014]\n"; 73 print "[015]\n"; 77 print "[016]\n"; 81 print "[017]\n"; 107 print "[021]\n"; 110 print "[022]\n"; [all …]
|
H A D | 034.phpt | 8 print 'foo'; 11 print 'bar'; 14 print 1; 17 print 2; 20 print 3;
|
H A D | gh9916-011.phpt | 7 print "Before yield\n"; 10 print "Before yield 2\n"; 12 print "Before suspend\n"; 14 print "Not executed\n"; 25 print "Before current\n"; 27 print "Before next\n"; 29 print "Not executed\n";
|
H A D | isset_001.phpt | 6 print "- isset ---\n"; 11 print "error\n"; 17 print "error\n"; 20 print "- unset ---\n"; 26 print "done\n";
|
/PHP-8.1/ext/standard/tests/strings/ |
H A D | str_getcsv_001.phpt | 8 print "-----\n"; 10 print "-----\n"; 12 print "-----\n"; 14 print "-----\n"; 16 print "-----\n"; 18 print "-----\n"; 20 print "-----\n"; 22 print "-----\n"; 24 print "-----\n"; 26 print "-----\n"; [all …]
|
H A D | print_basic.phpt | 2 Test print() function : basic functionality 6 echo "*** Testing print() : basic functionality ***\n"; 9 print("Hello World"); 12 print "print() also works without parentheses."; 15 print "This spans 30 print "foo is $foo"; // foo is foobar 40 print 'foo is $foo'; // foo is $foo 44 print $foo; // foobar 48 print <<<END 56 *** Testing print() : basic functionality *** [all …]
|
/PHP-8.1/ext/json/tests/ |
H A D | bug41067.phpt | 7 print bin2hex($single_barline) . "\n"; 8 // print $single_barline . "\n\n"; 10 print $json . "\n\n"; 12 // print $json_decoded[0] . "\n"; 13 print bin2hex($json_decoded[0]) . "\n"; 14 print "END\n";
|
/PHP-8.1/sapi/phpdbg/tests/ |
H A D | exceptions_003.phpt | 18 00007: print "ok\n"; 21 00007: print "ok\n"; 22 prompt> >00007: print "ok\n"; 28 00007: print "ok\n"; 29 prompt> >00010: print "caught\n"; 42 print "ok\n"; 45 print "caught\n";
|
/PHP-8.1/ext/reflection/tests/ |
H A D | bug43926.phpt | 27 print("Is? A ". ($ra->isInstance($ca) ? 'true' : 'false') .", instanceof: ". (($ca instanceof A) ? … 28 print("Is? C ". ($rc->isInstance($ca) ? 'true' : 'false') .", instanceof: ". (($ca instanceof C) ? … 29 print("Is? D ". ($rd->isInstance($ca) ? 'true' : 'false') .", instanceof: ". (($ca instanceof D) ? … 30 print("Is? E ". ($re->isInstance($ca) ? 'true' : 'false') .", instanceof: ". (($ca instanceof E) ? … 31 print "-\n"; 32 print("Is? A ". ($ra->isInstance($cc) ? 'true' : 'false') .", instanceof: ". (($cc instanceof A) ? … 33 print("Is? C ". ($rc->isInstance($cc) ? 'true' : 'false') .", instanceof: ". (($cc instanceof C) ? … 34 print("Is? D ". ($rd->isInstance($cc) ? 'true' : 'false') .", instanceof: ". (($cc instanceof D) ? … 35 print("Is? E ". ($re->isInstance($cc) ? 'true' : 'false') .", instanceof: ". (($cc instanceof E) ? … 36 print "-\n"; [all …]
|
/PHP-8.1/tests/lang/ |
H A D | bug22510.phpt | 10 print __CLASS__."::".__FUNCTION__."\n"; 15 print __CLASS__."::".__FUNCTION__."\n"; 20 print __CLASS__."::".__FUNCTION__."\n"; 55 print __FUNCTION__."\n"; 61 print __FUNCTION__."\n"; 66 print __FUNCTION__."\n"; 72 print __FUNCTION__."\n"; 81 print "done!\n"; 84 print "done!\n"; 87 print "done!\n"; [all …]
|
/PHP-8.1/ext/standard/tests/file/ |
H A D | fileinode_variation.phpt | 25 print( fileinode( $file1) )."\n"; 26 print( fileinode( $file2) )."\n"; 31 print( fileinode( $file1) )."\n"; 33 print( fileinode( $link1) )."\n"; 38 print( fileinode( $file2) )."\n"; 40 print( fileinode( $link2) )."\n"; 47 print( fileinode( $file1) )."\n"; 58 print( fileinode("$file_path/old.txt") )."\n"; 68 print( fileinode("$file_path/dir") )."\n"; 76 print( fileinode(b"$file_path/dir") )."\n"; [all …]
|