Home
last modified time | relevance | path

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

12345678910>>...78

/PHP-7.3/ext/mbstring/tests/
H A Dmb_stripos.phpt73 ($r === FALSE) ? print "OK_OUT_RANGE\n" : print "NG_OUT_RANGE\n";
75 ($r === FALSE) ? print "OK_OUT_RANGE\n" : print "NG_OUT_RANGE\n";
94 ($r === FALSE) ? print "OK_STR\n" : print "NG_STR\n";
96 ($r === FALSE) ? print "OK_NEWLINE\n" : print "NG_NEWLINE\n";
110 ($r === FALSE) ? print "OK_STR\n" : print "NG_STR\n";
112 ($r === FALSE) ? print "OK_NEWLINE\n" : print "NG_NEWLINE\n";
125 ($r === FALSE) ? print "OK_STR\n" : print "NG_STR\n";
127 ($r === FALSE) ? print "OK_NEWLINE\n" : print "NG_NEWLINE\n";
134 ($r === NULL) ? print("OK_NULL\n") : print("NG_NULL\n");
136 ($r === NULL) ? print("OK_ARRAY\n") : print("NG_ARRAY\n");
[all …]
H A Dmb_strpos.phpt73 ($r === FALSE) ? print "OK_OUT_RANGE\n" : print "NG_OUT_RANGE\n";
75 ($r === FALSE) ? print "OK_OUT_RANGE\n" : print "NG_OUT_RANGE\n";
94 ($r === FALSE) ? print "OK_STR\n" : print "NG_STR\n";
96 ($r === FALSE) ? print "OK_NEWLINE\n" : print "NG_NEWLINE\n";
110 ($r === FALSE) ? print "OK_STR\n" : print "NG_STR\n";
112 ($r === FALSE) ? print "OK_NEWLINE\n" : print "NG_NEWLINE\n";
125 ($r === FALSE) ? print "OK_STR\n" : print "NG_STR\n";
127 ($r === FALSE) ? print "OK_NEWLINE\n" : print "NG_NEWLINE\n";
134 ($r === NULL) ? print("OK_NULL\n") : print("NG_NULL\n");
136 ($r === NULL) ? print("OK_ARRAY\n") : print("NG_ARRAY\n");
[all …]
H A Dmb_internal_encoding.phpt14 ($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 Dmb_http_output.phpt14 ($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 …]
H A Dmb_strimwidth.phpt17 print "String width: ".mb_strwidth($euc_jp,'EUC-JP')."\n";
19 print "1: ". mb_strimwidth($euc_jp, 0, 15,'...','EUC-JP') . "\n";
20 print "2: ". mb_strimwidth($euc_jp, 0, 100,'...','EUC-JP') . "\n";
21 print "3: ". mb_strimwidth($euc_jp, 15, 100,'...','EUC-JP') . "\n";
22 print "4: ". mb_strimwidth($euc_jp, -30, 5,'...','EUC-JP') . "\n";
23 print "5: ". mb_strimwidth($euc_jp, 38, 5,'...','EUC-JP') . "\n";
24 print "6: ". mb_strimwidth($euc_jp, 38, -25,'...','EUC-JP') . "\n";
28 ($str === FALSE) ? print "10 OK\n" : print "NG: $str\n";
31 ($str === FALSE) ? print "11 OK\n" : print "NG: $str\n";
34 ($str === FALSE) ? print "12 OK\n" : print "NG: $str\n";
[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";
39 ($r === FALSE) ? print "OK_BAD_STR\n" : print "NG_BAD_STR\n";
40 print implode(', ', mb_detect_order()) . "\n";
44 ($r === FALSE) ? print "OK_BAD_ARRAY\n" : print "NG_BAD_ARRAY\n";
[all …]
H A Dmb_strwidth.phpt15 print "1: ". mb_strwidth($euc_jp, 'EUC-JP') . "\n";
18 print "2: ". mb_strwidth($euc_jp, 'EUC-JP') . "\n";
19 print "3: ". mb_strwidth($euc_jp, 'EUC-JP') . "\n";
21 print "4: ". mb_strwidth($euc_jp, 'EUC-JP') . "\n";
24 ($str === "") ? print "5 OK\n" : print "NG: $str\n";
27 ($str !== "") ? print "6 OK: $str\n" : print "NG: $str\n";
H A Dmb_strlen.phpt24 print mb_strlen($ascii,'ASCII') . "\n";
25 print strlen($ascii) . "\n";
29 print mb_strlen($euc_jp,'EUC-JP') . "\n";
31 print strlen($euc_jp) . "\n";
36 print mb_strlen($sjis,'SJIS') . "\n";
37 mb_internal_encoding('SJIS') or print("mb_internal_encoding() failed\n");
38 print strlen($sjis) . "\n";
44 print mb_strlen($jis,'JIS') . "\n";
46 print strlen($jis) . "\n";
52 print mb_strlen($utf8,'UTF-8') . "\n";
[all …]
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_convert_encoding.phpt27 print("EUC-JP: $s\n"); // EUC-JP
31 print("EUC-JP: $s\n"); // EUC-JP
39 print("JIS: ".base64_encode($s)."\n"); // JIS
48 print("EUC-JP: $s\n"); // EUC-JP
56 print("JIS: ".base64_encode($s)."\n"); // JIS
65 print("EUC-JP: $s\n"); // EUC-JP
81 print("EUC-JP: $s\n"); // EUC-JP
96 print("INT: $s\n"); // EUC-JP
99 print("EUC-JP: $s\n"); // SJIS
103 print("BAD: $s\n"); // BAD
[all …]
/PHP-7.3/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-7.3/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-7.3/Zend/tests/
H A Dzend2.php.txt12 print "\n";
114 print "\n";
132 print "\n";
177 print "\n";
184 print "\n";
216 print $obj->id;
217 print "\n";
221 print $obj->id;
222 print "\n";
224 print "\n";
[all …]
H A Dbug46304.phpt13 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 …]
H A D034.phpt8 print 'foo';
11 print 'bar';
14 print 1;
17 print 2;
20 print 3;
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-7.3/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 /* Prototype : int print ( string $arg )
15 print("Hello World");
18 print "print() also works without parentheses.";
21 print "This spans
36 print "foo is $foo"; // foo is foobar
46 print 'foo is $foo'; // foo is $foo
50 print $foo; // foobar
54 print <<<END
63 *** Testing print() : basic functionality ***
[all …]
/PHP-7.3/ext/json/tests/
H A Dbug41067.phpt4 <?php if (!extension_loaded("json")) print "skip"; ?>
9 print bin2hex($single_barline) . "\n";
10 // print $single_barline . "\n\n";
12 print $json . "\n\n";
14 // print $json_decoded[0] . "\n";
15 print bin2hex($json_decoded[0]) . "\n";
16 print "END\n";
/PHP-7.3/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-7.3/tests/lang/
H A Dbug22510.phpt12 print __CLASS__."::".__FUNCTION__."\n";
17 print __CLASS__."::".__FUNCTION__."\n";
22 print __CLASS__."::".__FUNCTION__."\n";
57 print __FUNCTION__."\n";
63 print __FUNCTION__."\n";
68 print __FUNCTION__."\n";
74 print __FUNCTION__."\n";
83 print "done!\n";
86 print "done!\n";
89 print "done!\n";
[all …]
/PHP-7.3/ext/simplexml/tests/
H A D020.phpt4 <?php if (!extension_loaded("simplexml")) print "skip"; ?>
9 print $doc->name["attr"];
10 print "\n";
12 print "Works\n";
14 print "Error\n";
/PHP-7.3/sapi/phpdbg/tests/
H A Dexceptions_003.phpt18 00007: print "ok\n";
22 00007: print "ok\n";
24 >00007: print "ok\n";
32 00007: print "ok\n";
34 >00010: print "caught\n";
48 print "ok\n";
51 print "caught\n";

Completed in 32 milliseconds

12345678910>>...78