Home
last modified time | relevance | path

Searched refs:print (Results 1 – 25 of 1172) sorted by relevance

12345678910>>...47

/PHP-8.1/ext/mbstring/tests/
H A Dmb_stripos.phpt48 ($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 Dmb_strpos.phpt48 ($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 Dmb_substr.phpt35 ($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 Dmb_strcut.phpt26 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 Dmb_strlen.phpt20 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 Dmb_http_output.phpt13 ($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 Dmb_internal_encoding.phpt13 ($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 Dmb_convert_variables.phpt26 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 Dmb_detect_order.phpt16 ($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 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-8.1/ext/date/tests/
H A Dbug33414-1.phpt8 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 Dbug33414-2.phpt5 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 Dbug33415-2.phpt13 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 Dbug46304.phpt10 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 Dfalsetoarray.phpt17 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 D034.phpt8 print 'foo';
11 print 'bar';
14 print 1;
17 print 2;
20 print 3;
H A Dgh9916-011.phpt7 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 Disset_001.phpt6 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 Dstr_getcsv_001.phpt8 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 Dprint_basic.phpt2 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 Dbug41067.phpt7 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 Dexceptions_003.phpt18 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 Dbug43926.phpt27 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 Dbug22510.phpt10 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 Dfileinode_variation.phpt25 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 …]

Completed in 34 milliseconds

12345678910>>...47