Home
last modified time | relevance | path

Searched refs:echo (Results 201 – 225 of 9126) sorted by relevance

12345678910>>...366

/PHP-7.1/ext/hash/tests/
H A Dsha1.phpt7 echo hash('sha1', '') . "\n";
8 echo hash('sha1', 'a') . "\n";
9 echo hash('sha1', '012345678901234567890123456789012345678901234567890123456789') . "\n";
12 echo hash('sha1', 'abc') . "\n";
13 echo hash('sha1', 'abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq') . "\n";
14 echo hash('sha1', str_repeat('a', 1000000)) . "\n";
H A Dsha224.phpt7 echo hash('sha224', '') . "\n";
8 echo hash('sha224', 'a') . "\n";
9 echo hash('sha224', '012345678901234567890123456789012345678901234567890123456789') . "\n";
12 echo hash('sha224', 'abc') . "\n";
13 echo hash('sha224', 'abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq') . "\n";
14 echo hash('sha224', str_repeat('a', 1000000)) . "\n";
H A Dsha256.phpt7 echo hash('sha256', '') . "\n";
8 echo hash('sha256', 'a') . "\n";
9 echo hash('sha256', '012345678901234567890123456789012345678901234567890123456789') . "\n";
12 echo hash('sha256', 'abc') . "\n";
13 echo hash('sha256', 'abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq') . "\n";
14 echo hash('sha256', str_repeat('a', 1000000)) . "\n";
H A Dsha384.phpt7 echo hash('sha384', '') . "\n";
8 echo hash('sha384', 'a') . "\n";
9 echo hash('sha384', '012345678901234567890123456789012345678901234567890123456789') . "\n";
12 echo hash('sha384', 'abc') . "\n";
13 echo hash('sha384', 'abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmnhijklmnoijklmnopjklmno…
14 echo hash('sha384', str_repeat('a', 1000000)) . "\n";
H A Dsha512.phpt7 echo hash('sha512', '') . "\n";
8 echo hash('sha512', 'a') . "\n";
9 echo hash('sha512', '012345678901234567890123456789012345678901234567890123456789') . "\n";
12 echo hash('sha512', 'abc') . "\n";
13 echo hash('sha512', 'abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmnhijklmnoijklmnopjklmno…
14 echo hash('sha512', str_repeat('a', 1000000)) . "\n";
H A Dhash_pbkdf2_error.phpt12 echo "*** Testing hash_pbkdf2() : error conditions ***\n";
19 echo $php_errormsg . "\n";
21 echo $php_errormsg . "\n";
23 echo $php_errormsg . "\n";
25 echo $php_errormsg . "\n";
29 echo $php_errormsg . "\n";
33 echo $php_errormsg . "\n";
37 echo $php_errormsg . "\n";
39 echo $php_errormsg . "\n";
41 echo "\n-- Testing hash_pbkdf2() function with invalid length --\n";
[all …]
/PHP-7.1/ext/standard/tests/strings/
H A Dprintf_basic9.phpt28 echo "\n-- Calling printf() with no arguments --\n";
30 echo "\n";
33 echo "\n-- Calling printf() with one arguments --\n";
35 echo "\n";
38 echo "\n";
41 echo "\n-- Calling printf() with two arguments --\n";
43 echo "\n";
46 echo "\n";
49 echo "\n-- Calling printf() with three arguments --\n";
51 echo "\n";
[all …]
H A Dhtmlspecialchars_decode_variation7.phpt19 echo "$t\tNOT DECODED\n";
21 echo "$t\tDECODED\n";
30 echo "$t\tNOT DECODED\n";
32 echo "$t\tDECODED\n";
41 echo "$t\tNOT DECODED\n";
43 echo "$t\tDECODED\n";
52 echo "$t\tNOT DECODED\n";
54 echo "$t\tDECODED\n";
65 echo "$t\tDECODED\n";
76 echo "$t\tDECODED\n";
[all …]
/PHP-7.1/ext/standard/tests/serialize/
H A D005.phpt34 echo "Try __autoload()\n";
50 echo __METHOD__ . "()\n";
55 echo __METHOD__ . "()\n";
102 echo "===O1===\n";
106 echo "===N1===\n";
110 echo "===N2===\n";
114 echo "===NAOld===\n";
117 echo "===NANew===\n";
120 echo "===NANew2===\n";
123 echo "===AutoOld===\n";
[all …]
/PHP-7.1/Zend/tests/grammar/
H A Dsemi_reserved_007.phpt10 echo "From ", __METHOD__, ":", PHP_EOL;
11 echo self::self, PHP_EOL;
12 echo self::parent, PHP_EOL;
19 echo "From ", __METHOD__, ":", PHP_EOL;
20 echo parent::self, PHP_EOL;
21 echo parent::parent, PHP_EOL;
27 echo "\nDone\n";
H A Dregression_006.phpt14 echo Obj::DECLARE, PHP_EOL;
15 echo Obj::RETURN, PHP_EOL;
16 echo Obj::FUNCTION, PHP_EOL;
17 echo Obj::USE, PHP_EOL;
18 echo Obj::
21 echo "\nDone\n";
/PHP-7.1/ext/date/tests/
H A DDateTime_data-fall-type2-type3.inc23 echo "test_time_fall_type2_prev_type3_prev: ";
28 echo "test_time_fall_type2_prev_type3_dt: ";
45 echo "test_time_fall_type2_prev_type3_st: ";
50 echo "test_time_fall_type2_prev_type3_post: ";
55 echo "test_time_fall_type2_dt_type3_prev: ";
60 echo "test_time_fall_type2_dt_type3_dt: ";
77 echo "test_time_fall_type2_dt_type3_st: ";
82 echo "test_time_fall_type2_dt_type3_post: ";
151 echo "test_time_fall_type2_st_type3_prev: ";
156 echo "test_time_fall_type2_st_type3_dt: ";
[all …]
H A Dbug72719.phpt5 echo (new DateTimeImmutable('Monday next week 13:00'))->format('l'), "\n";
6 echo (new DateTimeImmutable('Tuesday next week 14:00'))->format('l'), "\n";
7 echo (new DateTimeImmutable('Wednesday next week 14:00'))->format('l'), "\n";
8 echo (new DateTimeImmutable('Thursday next week 15:00'))->format('l'), "\n";
9 echo (new DateTimeImmutable('Friday next week 16:00'))->format('l'), "\n";
10 echo (new DateTimeImmutable('Saturday next week 17:00'))->format('l'), "\n";
11 echo (new DateTimeImmutable('Sunday next week 18:00'))->format('l'), "\n";
/PHP-7.1/ext/standard/tests/array/
H A Darray_shift_variation6.phpt16 echo "*** Testing array_shift() : usage variations ***\n";
18 echo "\n-- Variable is referenced array --\n";
22 echo "Result: ";
24 echo "\n\$original_array:\n";
26 echo "\n\$copied_array:\n";
29 echo "\n-- Element is referenced array --\n";
31 echo "Result: ";
33 echo "\n\$new_array:\n";
35 echo "\n\$copied_array\n";
38 echo "Done";
H A Darray_walk_recursive_variation8.phpt14 * echo language construct
17 echo "*** Testing array_walk_recursive() : built-in function as callback ***\n";
21 echo "-- With 'pow' built-in function --\n";
24 echo "-- With 'min' built-in function --\n";
27 echo "-- With 'echo' language construct --\n";
28 var_dump( array_walk_recursive($input, "echo"));
30 echo "Done"
38 -- With 'echo' language construct --
40 Warning: array_walk_recursive() expects parameter 2 to be a valid callback, function 'echo' not fou…
/PHP-7.1/sapi/cli/tests/
H A D017.phpt20 echo 'Hello world';
25 echo 'multine
32 echo <<<HEREDOC
42 echo "I'm not there";
44 echo "Done";
49 echo "I was called!";
55 echo "\n--------------\nSnippet no. $key:\n--------------\n";
57 echo `echo $code | "$php" -a`, "\n";
60 echo "\nDone\n";
/PHP-7.1/ext/pgsql/tests/
H A D28large_object_import_oid.phpt17 echo "import LO from int\n";
20 if (!$oid) echo ("pg_lo_import() error\n");
21 if ($oid != 21003) echo ("pg_lo_import() wrong id\n");
25 echo "import LO from string\n";
28 if (!$oid) echo ("pg_lo_import() error\n");
29 if ($oid != 21004) echo ("pg_lo_import() wrong id\n");
33 echo "import LO using default connection\n";
36 if (!$oid) echo ("pg_lo_import() error\n");
37 if ($oid != 21005) echo ("pg_lo_import() wrong id\n");
42 echo "OK";
/PHP-7.1/ext/spl/tests/
H A Drecursive_tree_iterator_001.phpt28 echo "-- flags = BYPASS_KEY --\n";
30 echo "[$k] => $v\n";
32 echo "-- flags = BYPASS_CURRENT --\n";
34 echo "[$k] => $v\n";
36 echo "-- flags = BYPASS_KEY|BYPASS_KEY --\n";
38 echo "[$k] => $v\n";
40 echo "-- flags = 0 --\n";
42 echo "[$k] => $v\n";
44 echo "-- flags = 0, caching_it_flags = CachingIterator::CATCH_GET_CHILD --\n";
46 echo "[$k] => $v\n";
H A Ddllist_002.phpt14 echo "$k=>$v\n";
17 echo "->$k2=>$v2\n";
21 echo "# deleted\n";
24 echo "$k=>$v\n";
28 echo "# while popping\n";
31 echo "$k=>$v\n";
32 echo "popped ".$dll2->pop()."\n";
/PHP-7.1/Zend/tests/function_arguments/
H A Dargument_count_incorrect_userland_strict.phpt10 echo get_class($e) . PHP_EOL;
11 echo $e->getMessage() . PHP_EOL;
18 echo get_class($e) . PHP_EOL;
19 echo $e->getMessage() . PHP_EOL;
27 echo get_class($e) . PHP_EOL;
28 echo $e->getMessage() . PHP_EOL;
34 echo get_class($e) . PHP_EOL;
35 echo $e->getMessage() . PHP_EOL;
41 echo get_class($e) . PHP_EOL;
42 echo $e->getMessage() . PHP_EOL;
/PHP-7.1/ext/standard/tests/file/
H A Dfopen_variation19.phpt40 echo "soft link:";
42 echo "hard link:";
44 echo "link of link:";
48 echo "soft link:";
50 echo "hard link:";
52 echo "link of link:";
56 echo "soft link:";
58 echo "hard link:";
60 echo "link of link:";
74 echo "\n";
[all …]
/PHP-7.1/Zend/tests/
H A Dbug53958.phpt7 $fn1 = function() use ($a) {echo "$a\n"; $a++;};
8 $fn2 = function() use ($a) {echo "$a\n"; $a++;};
17 $fn1 = function() use (&$b) {echo "$b\n"; $b++;};
18 $fn2 = function() use (&$b) {echo "$b\n"; $b++;};
27 $fn1 = function() use (&$c) {echo "$c\n"; $c++;};
28 $fn2 = function() use ($c) {echo "$c\n"; $c++;};
37 $fn1 = function() use ($d) {echo "$d\n"; $d++;};
38 $fn2 = function() use (&$d) {echo "$d\n"; $d++;};
H A Dns_037.phpt11 echo "class ok\n";
14 echo "method ok\n";
23 echo X::C;
24 echo Y\X::C;
25 echo \X\X::C;
26 echo X::$var;
27 echo Y\X::$var;
28 echo \X\X::$var;
/PHP-7.1/ext/standard/tests/general_functions/
H A Dis_resource_basic.phpt10 echo "*** Testing is_resource() : basic functionality ***\n";
14 echo "Hello\n";
39 echo "\nNon-resource type cases\n";
43 echo $types[$i]. " test returns TRUE\n";
45 echo $types[$i]. " test returns FALSE\n";
50 echo "\nResource type..var_dump after file open returns\n";
54 echo " TRUE\n";
56 echo " FALSE\n";
60 echo "\nResource type..var_dump after file close returns\n";
64 echo " TRUE\n";
[all …]
/PHP-7.1/ext/mbstring/tests/
H A Dsimpletest.phpt18 echo "echo: ".$s1.$s2."\n";
21 echo sprintf("sprintf: %s%s\n",$s1, $s2);
25 echo "echo: ".$s3;
29 echo: �ޥ���Х��ȴؿ����Ȥ��ޤ�������ʸ����Ϣ�뤵��Ƥ���Ϥ���
33 echo: �ޥ���Х��ȴؿ����Ȥ��ޤ�������ʸ����Ϣ�뤵��Ƥ���Ϥ���

Completed in 72 milliseconds

12345678910>>...366