Home
last modified time | relevance | path

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

12345678910>>...62

/PHP-5.4/ext/mbstring/tests/
H A Dmb_strpos.phpt54 ($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";
68 ($r === FALSE) ? print "OK_STR\n" : print "NG_STR\n";
70 ($r === FALSE) ? print "OK_NEWLINE\n" : print "NG_NEWLINE\n";
83 ($r === FALSE) ? print "OK_STR\n" : print "NG_STR\n";
85 ($r === FALSE) ? print "OK_NEWLINE\n" : print "NG_NEWLINE\n";
97 ($r === FALSE) ? print "OK_STR\n" : print "NG_STR\n";
99 ($r === FALSE) ? print "OK_NEWLINE\n" : print "NG_NEWLINE\n";
106 ($r === FALSE) ? print("OK_NULL\n") : print("NG_NULL\n");
108 ($r === FALSE) ? print("OK_ARRAY\n") : print("NG_ARRAY\n");
[all …]
H A Dmb_stripos.phpt57 ($r === FALSE) ? print "OK_OUT_RANGE\n" : print "NG_OUT_RANGE\n";
59 ($r === FALSE) ? print "OK_OUT_RANGE\n" : print "NG_OUT_RANGE\n";
71 ($r === FALSE) ? print "OK_STR\n" : print "NG_STR\n";
73 ($r === FALSE) ? print "OK_NEWLINE\n" : print "NG_NEWLINE\n";
86 ($r === FALSE) ? print "OK_STR\n" : print "NG_STR\n";
88 ($r === FALSE) ? print "OK_NEWLINE\n" : print "NG_NEWLINE\n";
100 ($r === FALSE) ? print "OK_STR\n" : print "NG_STR\n";
102 ($r === FALSE) ? print "OK_NEWLINE\n" : print "NG_NEWLINE\n";
109 ($r === FALSE) ? print("OK_NULL\n") : print("NG_NULL\n");
111 ($r === FALSE) ? print("OK_ARRAY\n") : print("NG_ARRAY\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_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 === FALSE) ? print "OK_BAD_ARY_SET\n" : print "NG_BAD_ARY_SET\n";
42 print "$enc\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_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_strimwidth.phpt17 print "1: ". mb_strimwidth($euc_jp, 0, 15,'...','EUC-JP') . "\n";
18 print "2: ". mb_strimwidth($euc_jp, 0, 100,'...','EUC-JP') . "\n";
19 print "3: ". mb_strimwidth($euc_jp, 15, 100,'...','EUC-JP') . "\n";
22 ($str === FALSE) ? print "4 OK\n" : print "NG: $str\n";
25 ($str === FALSE) ? print "5 OK\n" : print "NG: $str\n";
28 ($str === FALSE) ? print "6 OK\n" : print "NG: $str\n";
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_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-5.4/Zend/tests/
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 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 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-5.4/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-5.4/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";
88 print "TZ=Europe/Vilnius - wrong day.\n";
112 print "TZ=America/Cancun - 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";
21 print "TZ=America/Port-au-Prince - wrong day.\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";
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-5.4/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-5.4/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-5.4/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-5.4/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";
82 print "done!\n";
85 print "done!\n";
88 print "done!\n";
[all …]
/PHP-5.4/ext/pdo_mysql/tests/
H A Dbug_61207.phpt27 print("Handle 1:\n");
29 print('Rowset ' . $i++ . "\n");
31 print("Results detected\n");
43 print("Handle 2:\n");
45 print('Rowset ' . $i++ . "\n");
47 print("Results detected\n");
59 print("Handle 3:\n");
61 print('Rowset ' . $i++ . "\n");
63 print("Results detected\n");
76 print("Handle 4:\n");
[all …]
/PHP-5.4/ext/standard/tests/file/
H A Dfileinode_variation.phpt29 print( fileinode( $file1) )."\n";
30 print( fileinode( $file2) )."\n";
35 print( fileinode( $file1) )."\n";
37 print( fileinode( $link1) )."\n";
42 print( fileinode( $file2) )."\n";
44 print( fileinode( $link2) )."\n";
51 print( fileinode( $file1) )."\n";
62 print( fileinode("$file_path/old.txt") )."\n";
72 print( fileinode("$file_path/dir") )."\n";
80 print( fileinode(b"$file_path/dir") )."\n";
[all …]

Completed in 75 milliseconds

12345678910>>...62