Home
last modified time | relevance | path

Searched refs:echo (Results 26 – 50 of 5287) sorted by relevance

12345678910>>...212

/PHP-5.4/ext/pcre/tests/
H A Dpcre.constants.phpt6 echo "PCRE constants test\n";
8 echo "PREG_PATTERN_ORDER= ", PREG_PATTERN_ORDER, "\n";
9 echo "PREG_OFFSET_CAPTURE= ", PREG_OFFSET_CAPTURE, "\n";
10 echo "PREG_SPLIT_NO_EMPTY= ", PREG_SPLIT_NO_EMPTY, "\n";
11 echo "PREG_SPLIT_DELIM_CAPTURE= ", PREG_SPLIT_DELIM_CAPTURE, "\n";
12 echo "PREG_SPLIT_OFFSET_CAPTURE= ", PREG_SPLIT_OFFSET_CAPTURE, "\n";
13 echo "PREG_GREP_INVERT= ", PREG_GREP_INVERT, "\n";
14 echo "PREG_NO_ERROR= ", PREG_NO_ERROR, "\n";
15 echo "PREG_INTERNAL_ERROR= ", PREG_INTERNAL_ERROR, "\n";
16 echo "PREG_BACKTRACK_LIMIT_ERROR= ", PREG_BACKTRACK_LIMIT_ERROR, "\n";
[all …]
/PHP-5.4/ext/date/tests/
H A Dbug33957.phpt8 echo "1992-12-$i ", date("W", strtotime("1992-12-$i")), "\n";
11 echo "1993-01-$i ", date("W", strtotime("1993-01-$i")), "\n";
13 echo "----\n";
14 echo " ";
16 echo "$year ";
18 echo "\n";
21 echo " (12-$i) ";
24 echo sprintf("%04d ", date("o", strtotime("$year-12-$i")));
26 echo "\n";
34 echo "\n";
[all …]
H A DDateInterval_format.phpt20 echo $interval->format('Y=%Y') . "\n";
21 echo $interval->format('M=%M') . "\n";
22 echo $interval->format('D=%D') . "\n";
23 echo $interval->format('H=%H') . "\n";
24 echo $interval->format('I=%I') . "\n";
25 echo $interval->format('S=%S') . "\n";
26 echo $interval->format('R=%R') . "\n";
28 echo $interval->format('y=%y') . "\n";
29 echo $interval->format('m=%m') . "\n";
36 echo "\n";
[all …]
H A Dtimezones-list.phpt10 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";
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";
26 echo in_array( "US/Eastern", $b ) ? "found" : "notfound", "\n";
[all …]
H A Dbug27719.phpt11 echo "$a ".date("m/d/y h:i:s\n",$a);
12 echo "$b ".date("m/d/y h:i:s\n",$b);
13 echo "$c ".date("m/d/y h:i:s\n",$c);
14 echo "\n";
19 echo "$a ".date("m/d/y h:i:s\n",$a);
20 echo "$b ".date("m/d/y h:i:s\n",$b);
21 echo "$c ".date("m/d/y h:i:s\n",$c);
22 echo "\n";
30 echo "\n";
38 echo "\n";
[all …]
/PHP-5.4/ext/simplexml/tests/
H A D011.phpt2 SimpleXML: echo/print
21 echo "===BAR===\n";
22 echo $sxe->bar;
23 echo "\n";
25 echo "===BAZ===\n";
26 echo $sxe->baz;
27 echo "\n";
29 echo "===BAZ0===\n";
30 echo $sxe->baz[0];
31 echo "\n";
[all …]
/PHP-5.4/ext/standard/tests/math/
H A Dcos_basic.phpt26 echo "cos 30 = ";
29 echo "Pass\n";
32 echo "Fail\n";
38 echo "Pass\n";
41 echo "Fail\n";
47 echo "Pass\n";
50 echo "Fail\n";
56 echo "Pass\n";
59 echo "Fail\n";
65 echo "Pass\n";
[all …]
H A Dsin_basic.phpt26 echo "sin 30 = ";
29 echo "Pass\n";
32 echo "Fail\n";
38 echo "Pass\n";
41 echo "Fail\n";
47 echo "Pass\n";
50 echo "Fail\n";
56 echo "Pass\n";
59 echo "Fail\n";
65 echo "Pass\n";
[all …]
H A Dbug25694.phpt7 echo "round 0.045 = " . round(0.045, 2) . "\n";
8 echo "number format 0.045 = " . number_format(0.045, 2) . "\n\n";
9 echo "round 0.055 = " . round(0.055, 2) . "\n";
10 echo "number format 0.055 = " . number_format(0.055, 2) . "\n\n";
11 echo "round 5.045 = " . round(5.045, 2) . "\n";
12 echo "number format 5.045 = " . number_format(5.045, 2) . "\n\n";
13 echo "round 5.055 = " . round(5.055, 2) . "\n";
14 echo "number format 5.055 = " . number_format(5.055, 2) . "\n\n";
15 echo "round 3.025 = " . round(3.025, 2) . "\n";
16 echo "number format 3.025 = " . number_format(3.025, 2) . "\n\n";
[all …]
H A Dcosh_basic.phpt15 echo "cosh .5 = ";
19 echo "Pass\n";
22 echo "Fail\n";
28 echo "Pass\n";
31 echo "Fail\n";
34 echo "cosh 3 = ";
37 echo "Pass\n";
40 echo "Fail\n";
43 echo "cosh -3 = ";
46 echo "Pass\n";
[all …]
H A Dsinh_basic.phpt15 echo "sinh .5 = ";
18 echo "Pass\n";
21 echo "Fail\n";
27 echo "Pass\n";
30 echo "Fail\n";
33 echo "sinh 3 = ";
36 echo "Pass\n";
39 echo "Fail\n";
42 echo "sinh -3 = ";
45 echo "Pass\n";
[all …]
H A Dtanh_basic.phpt15 echo "tanh .5 = ";
18 echo "Pass\n";
21 echo "Fail\n";
27 echo "Pass\n";
30 echo "Fail\n";
33 echo "tanh 3 = ";
36 echo "Pass\n";
39 echo "Fail\n";
42 echo "tanh -3 = ";
45 echo "Pass\n";
[all …]
/PHP-5.4/tests/classes/
H A Dtostring_001.phpt33 echo "====test1====\n";
39 echo "====test2====\n";
44 echo "====test3====\n";
45 echo $o;
48 echo "string:".$o;
51 echo 1 . $o;
52 echo 1 , $o;
55 echo $o . $o;
56 echo $o , $o;
61 echo $ar[$o];
[all …]
/PHP-5.4/ext/standard/tests/strings/
H A Dsubstr_replace.phpt8 echo "\n";
13 echo "\n";
18 echo "\n";
23 echo "\n";
28 echo "\n";
29 echo "\n";
30 echo "\n";
39 echo "\n";
42 echo "\n";
44 echo "\n";
[all …]
H A Dstrval_variation2.phpt30 echo "\n";
32 echo "\n";
34 echo "\n";
36 echo "\n";
38 echo "\n";
40 echo "\n";
42 echo "\n";
44 echo "\n";
46 echo "\n";
48 echo "\n";
[all …]
H A Dhtml_entity_decode2.phpt6 echo "*** HTML 4.01 implicit (shouldn't decode) ***\n";
7 echo html_entity_decode("'", ENT_QUOTES, "UTF-8"), "\n";
9 echo "*** HTML 4.01 (shouldn't decode) ***\n";
10 echo html_entity_decode("'", ENT_QUOTES | ENT_HTML401, "UTF-8"), "\n";
12 echo "*** HTML 5 ***\n";
13 echo html_entity_decode("'", ENT_QUOTES | ENT_HTML5, "UTF-8"), "\n";
15 echo "*** XHTML 1.0 ***\n";
16 echo html_entity_decode("'", ENT_QUOTES | ENT_XHTML, "UTF-8"), "\n";
18 echo "*** XML 1.0 ***\n";
19 echo html_entity_decode("'", ENT_QUOTES | ENT_XML1, "UTF-8"), "\n";
[all …]
H A Dhtmlspecialchars_basic.phpt17 echo "Basic tests\n";
18 echo "Test 1: " . htmlspecialchars ($s1);
19 echo "Test 2: " . htmlspecialchars ($s2);
20 echo "Test 3: " . htmlspecialchars ($s3);
21 echo "Test 4: " . htmlspecialchars ($s4);
22 echo "Test 5: " . htmlspecialchars ($s5);
23 echo "Test 6: " . htmlspecialchars ($s1,ENT_NOQUOTES);
28 echo "Test 11: " . htmlspecialchars ($s1,ENT_COMPAT);
29 echo "Test 12: " . htmlspecialchars ($s2,ENT_COMPAT);
45 echo "\nTry with double decode FALSE\n";
[all …]
H A Dbug53021.phpt6 echo "double quotes variations:", "\n";
7 echo html_entity_decode(""", ENT_NOQUOTES, 'UTF-8'), "\n";
8 echo html_entity_decode(""", ENT_NOQUOTES, 'UTF-8'), "\n";
9 echo html_entity_decode(""", ENT_QUOTES, 'UTF-8'), "\n";
10 echo html_entity_decode(""", ENT_QUOTES, 'UTF-8'), "\n";
11 echo html_entity_decode(""", ENT_COMPAT, 'UTF-8'), "\n";
12 echo html_entity_decode(""", ENT_COMPAT, 'UTF-8'), "\n";
14 echo "\nsingle quotes variations:", "\n";
15 echo html_entity_decode("'", ENT_NOQUOTES, 'UTF-8'), "\n";
16 echo html_entity_decode("'", ENT_QUOTES, 'UTF-8'), "\n";
[all …]
/PHP-5.4/tests/lang/
H A Dengine_assignExecutionOrder_008.phpt11 echo "\n" . '$i=f(): ';
12 echo $a[$i=f()][++$i];
15 echo "\n" . '$$x=f(): ';
17 echo $a[$$x=f()][++$$x];
20 echo "\n" . '${\'i\'}=f(): ';
24 echo "\n" . '$i[0]=f(): ';
25 echo $a[$i[0]=f()][++$i[0]];
28 echo "\n" . '$i[0][0]=f(): ';
32 echo "\n" . '$i->p=f(): ';
33 echo $a[$i->p=f()][++$i->p];
[all …]
/PHP-5.4/ext/hash/tests/
H A Dhash_file_basic1.phpt19 echo "Cannot create file ($file)";
27 echo "Cannot write to file ($file)";
36 echo "crc32: " . hash_file('crc32', $file) . "\n";
37 echo "gost: " . hash_file('gost', $file). "\n";
39 echo "md2: " . hash_file('md2', $file). "\n";
40 echo "md4: " . hash_file('md4', $file). "\n";
41 echo "md5: " . hash_file('md5', $file). "\n";
46 echo "sha1: " . hash_file('sha1', $file). "\n";
47 echo "sha256: " . hash_file('sha256', $file). "\n";
48 echo "sha384: " . hash_file('sha384', $file). "\n";
[all …]
H A Dhash_hmac_basic.phpt14 echo "*** Testing hash_hmac() : basic functionality ***\n";
19 echo "adler32: " . hash_hmac('adler32', $content, $key) . "\n";
20 echo "crc32: " . hash_hmac('crc32', $content, $key) . "\n";
21 echo "gost: " . hash_hmac('gost', $content, $key) . "\n";
23 echo "md2: " . hash_hmac('md2', $content, $key) . "\n";
24 echo "md4: " . hash_hmac('md4', $content, $key) . "\n";
25 echo "md5: " . hash_hmac('md5', $content, $key) . "\n";
30 echo "sha1: " . hash_hmac('sha1', $content, $key) . "\n";
31 echo "sha256: " . hash_hmac('sha256', $content, $key) . "\n";
32 echo "sha384: " . hash_hmac('sha384', $content, $key) . "\n";
[all …]
/PHP-5.4/Zend/tests/
H A Dns_040.phpt10 echo $x;
13 echo $x;
16 echo $x;
19 echo $x;
22 echo $x;
25 echo $x[0];
33 echo A;
34 echo \X\A;
35 echo Y\A;
36 echo \X\A;
[all …]
/PHP-5.4/ext/filter/tests/
H A D004.phpt12 <?php echo $_GET['a'];
13 echo $_GET['b'];
14 echo $_GET['c'];
15 echo $_POST['d'];
16 echo $_POST['e'];
17 echo "\n";
18 echo $_REQUEST['a'];
19 echo $_REQUEST['b'];
20 echo $_REQUEST['c'];
21 echo $_REQUEST['d'];
[all …]
/PHP-5.4/ext/standard/tests/serialize/
H A D001.phpt31 echo "__sleep called\n";
37 echo "__wakeup called\n";
42 echo serialize(NULL)."\n";
45 echo serialize(1)."\n";
46 echo serialize(0)."\n";
47 echo serialize(-1)."\n";
51 echo serialize(1.0)."\n";
52 echo serialize(0.0)."\n";
60 echo "$data\n";
66 echo "$data\n";
[all …]
/PHP-5.4/ext/standard/tests/file/
H A D001.phpt16 echo "test.file exists\n";
18 echo "test.file does not exist\n";
23 echo "test.file exists\n";
25 echo "test.file does not exist\n";
30 echo "test.link exists\n";
32 echo "test.link does not exist\n";
35 echo "test.file is a symlink\n";
40 echo "test.link is a symlink\n";
45 echo "test.file exists\n";
73 echo "test.file is readable\n";
[all …]

Completed in 61 milliseconds

12345678910>>...212