Home
last modified time | relevance | path

Searched refs:echo (Results 51 – 75 of 7059) sorted by relevance

12345678910>>...283

/PHP-5.3/ext/pdo_oci/tests/
H A Dpdo_oci_stream_1.phpt38 echo "Test 1\n";
45 echo 'Read '.stream_get_contents($r['data'], 1, 1)."$\n"; // b
46 echo 'Read '.stream_get_contents($r['data'], 2, 1)."$\n"; // cd
47 echo 'Read '.stream_get_contents($r['data'], 2, 0)."$\n"; // ab
51 echo 'Read '.stream_get_contents($r['data'], 1, 20)."$\n"; // u
52 echo 'Read '.stream_get_contents($r['data'], 1, 25)."$\n"; // z
53 echo 'Read '.stream_get_contents($r['data'], 1, 26)."$\n"; // <blank>
54 echo 'Read '.stream_get_contents($r['data'], 1, 0)."$\n"; // a
56 echo "\nTest 2\n";
66 echo 'Read '.strlen(stream_get_contents($r['data'], 0,0))."\n"; // 0
[all …]
/PHP-5.3/ext/standard/tests/file/
H A D001-win32.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";
28 echo "test.file is a symlink\n";
33 echo "test.file exists\n";
35 echo "test.file does not exist\n";
48 echo "test.file is writeable\n";
53 echo "test.file is readable\n";
63 echo "../file is a directory\n";
[all …]
/PHP-5.3/sapi/cli/tests/
H A D016.phpt20 echo 'Hello world';
25 echo 'multine
32 echo <<<HEREDOC
42 echo "I'm not there";
44 echo "Done";
49 echo "I was called!";
57 echo `echo $code | "$php" -a`, "\n";
60 echo "\nDone\n";
78 php > echo 'multine
92 php > echo <<<HEREDOC
[all …]
/PHP-5.3/ext/interbase/tests/
H A D006.phpt37 echo "insert\n";
61 echo " CHAR fail:\n";
62 echo " in: $v_char\n";
66 echo " DATE fail\n";
67 echo " in: $v_date\n";
76 echo " DOUBLE fail\n";
81 echo " FLOAT fail\n";
108 echo "select\n";
135 echo "CHAR fail\n";
141 echo "DATE fail\n";
[all …]
/PHP-5.3/ext/shmop/tests/
H A D001.phpt20 echo "ok\n";
25 echo "shm write test #1: ";
28 echo "failed\n";
30 echo "ok\n";
40 echo "failed\n";
42 echo "ok\n";
56 echo "failed\n";
58 echo "ok\n";
66 echo "ok\n";
73 echo "failed\n";
[all …]
/PHP-5.3/ext/standard/tests/strings/
H A Dadd-and-stripcslashes.phpt5 echo addcslashes("", "")."\n";
6 echo addcslashes("", "burp")."\n";
7 echo addcslashes("kaboemkara!", "")."\n";
8 echo addcslashes("foobarbaz", 'bar')."\n";
9 echo addcslashes('foo[ ]', 'A..z')."\n";
10 echo @addcslashes("zoo['.']", 'z..A')."\n";
11 echo addcslashes('abcdefghijklmnopqrstuvwxyz', "a\145..\160z")."\n";
12 echo "\n\r" == stripcslashes('\n\r'),"\n";
13 echo stripcslashes('\065\x64')."\n";
14 echo stripcslashes('')."\n";
/PHP-5.3/ext/imap/tests/
H A Dimap_rfc822_parse_headers_basic.phpt29 echo "Check type\n";
38 echo "Recent: OK";
42 echo "\n";
45 echo "Unseen: OK";
49 echo "\n";
52 echo "Flagged: OK";
56 echo "\n";
63 echo "\n";
70 echo "\n";
73 echo "Draft: OK";
[all …]
H A Dimap_headerinfo_basic.phpt29 echo "Check type\n";
38 echo "Recent: OK";
42 echo "\n";
45 echo "Unseen: OK";
49 echo "\n";
52 echo "Flagged: OK";
56 echo "\n";
63 echo "\n";
70 echo "\n";
73 echo "Draft: OK";
[all …]
/PHP-5.3/ext/hash/tests/
H A Dripemd128.phpt7 echo hash('ripemd128', '') . "\n";
8 echo hash('ripemd128', 'a') . "\n";
9 echo hash('ripemd128', 'abc') . "\n";
10 echo hash('ripemd128', 'message digest') . "\n";
11 echo hash('ripemd128', 'abcdefghijklmnopqrstuvwxyz') . "\n";
12 echo hash('ripemd128', 'abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq') . "\n";
13 echo hash('ripemd128', 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789') . "\n";
14 echo hash('ripemd128', '123456789012345678901234567890123456789012345678901234567890123456789012345…
15 echo hash('ripemd128', str_repeat('a', 1000000)) . "\n";
H A Dripemd160.phpt7 echo hash('ripemd160', '') . "\n";
8 echo hash('ripemd160', 'a') . "\n";
9 echo hash('ripemd160', 'abc') . "\n";
10 echo hash('ripemd160', 'message digest') . "\n";
11 echo hash('ripemd160', 'abcdefghijklmnopqrstuvwxyz') . "\n";
12 echo hash('ripemd160', 'abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq') . "\n";
13 echo hash('ripemd160', 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789') . "\n";
14 echo hash('ripemd160', '123456789012345678901234567890123456789012345678901234567890123456789012345…
15 echo hash('ripemd160', str_repeat('a', 1000000)) . "\n";
H A Dripemd256.phpt7 echo hash('ripemd256', '') . "\n";
8 echo hash('ripemd256', 'a') . "\n";
9 echo hash('ripemd256', 'abc') . "\n";
10 echo hash('ripemd256', 'message digest') . "\n";
11 echo hash('ripemd256', 'abcdefghijklmnopqrstuvwxyz') . "\n";
12 echo hash('ripemd256', 'abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq') . "\n";
13 echo hash('ripemd256', 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789') . "\n";
14 echo hash('ripemd256', '123456789012345678901234567890123456789012345678901234567890123456789012345…
15 echo hash('ripemd256', str_repeat('a', 1000000)) . "\n";
H A Dripemd320.phpt7 echo hash('ripemd320', '') . "\n";
8 echo hash('ripemd320', 'a') . "\n";
9 echo hash('ripemd320', 'abc') . "\n";
10 echo hash('ripemd320', 'message digest') . "\n";
11 echo hash('ripemd320', 'abcdefghijklmnopqrstuvwxyz') . "\n";
12 echo hash('ripemd320', 'abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq') . "\n";
13 echo hash('ripemd320', 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789') . "\n";
14 echo hash('ripemd320', '123456789012345678901234567890123456789012345678901234567890123456789012345…
15 echo hash('ripemd320', str_repeat('a', 1000000)) . "\n";
H A Dhash_hmac_file_basic.phpt15 echo "*** Testing hash_hmac_file() : basic functionality ***\n";
20 echo "Cannot create file ($file)";
28 echo "Cannot write to file ($file)";
40 echo "crc32: " . hash_hmac_file('crc32', $file, $key) . "\n";
41 echo "gost: " . hash_hmac_file('gost', $file, $key) . "\n";
43 echo "md2: " . hash_hmac_file('md2', $file, $key) . "\n";
44 echo "md4: " . hash_hmac_file('md4', $file, $key) . "\n";
45 echo "md5: " . hash_hmac_file('md5', $file, $key) . "\n";
50 echo "sha1: " . hash_hmac_file('sha1', $file, $key) . "\n";
51 echo "sha256: " . hash_hmac_file('sha256', $file, $key) . "\n";
[all …]
/PHP-5.3/ext/standard/tests/math/
H A Dacos_basic.phpt18 echo "acos .5 = ";
22 echo "Pass\n";
25 echo "Fail\n";
32 echo "Pass\n";
35 echo "Fail\n";
39 echo "acos 1.0 = ";
43 echo "Pass\n";
46 echo "Fail\n";
50 echo "acos 0.0 = ";
54 echo "Pass\n";
[all …]
H A Dasin_basic.phpt18 echo "asin .5 = ";
22 echo "Pass\n";
25 echo "Fail\n";
32 echo "Pass\n";
35 echo "Fail\n";
38 echo "asin 1.0 = ";
42 echo "Pass\n";
45 echo "Fail\n";
49 echo "asin 0.0 = ";
53 echo "Pass\n";
[all …]
H A Ddeg2rad_basic.phpt21 echo "deg2rad $arg_0 = ";
25 echo "Pass\n";
28 echo "Fail\n";
31 echo "deg2rad $arg_1 = ";
35 echo "Pass\n";
38 echo "Fail\n";
40 echo "deg2rad $arg_2 = ";
44 echo "Pass\n";
47 echo "Fail\n";
53 echo "Pass\n";
[all …]
H A Drad2deg_basic.phpt20 echo "rad2deg $arg_0= ";
24 echo "Pass\n";
27 echo "Fail\n";
29 echo "rad2deg $arg_1 = ";
33 echo "Pass\n";
36 echo "Fail\n";
42 echo "Pass\n";
45 echo "Fail\n";
47 echo "rad2deg $arg_3 = ";
51 echo "Pass\n";
[all …]
/PHP-5.3/ext/spl/tests/
H A Dheap_002.phpt11 echo "Exception: ".$e->getMessage()."\n";
21 echo $h->count()."\n";
22 echo $h->extract()."\n";
23 echo $h->extract()."\n";
24 echo $h->extract()."\n";
25 echo $h->extract()."\n";
26 echo $h->extract()."\n";
27 echo $h->count()."\n";
29 echo "--\n";
35 echo $h->extract()."\n";
/PHP-5.3/ext/date/tests/
H A Dbug17988.phpt7 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728"))."\n";
8 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728 GMT"))."\n";
9 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728 MET"))."\n";
10 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728 MEST"))."\n";
11 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728 EDT"))."\n";
12 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728-00"))."\n";
13 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728+00"))."\n";
14 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728-04"))."\n";
15 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728+04"))."\n";
16 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728-0300"))."\n";
[all …]
H A Dmktime-1.phpt11 echo date("Y-m-d", mktime( 12, 0, 0, 3, 0, 2000)) ."\n";
12 echo date("Y-m-d", mktime( 12, 0, 0, 3, -1, 2000)) ."\n";
13 echo date("Y-m-d", mktime( 12, 0, 0, 2, 29, 2000)) ."\n";
14 echo date("Y-m-d", mktime( 12, 0, 0, 3, 0, 2001)) ."\n";
15 echo date("Y-m-d", mktime( 12, 0, 0, 2, 29, 2001)) ."\n";
16 echo date("Y-m-d", mktime( 12, 0, 0, 0, 0, 2000)) ."\n";
20 echo date("Y-m-d H:i:s", mktime(12,0,0,3,+90,2000,0))."\n";
21 echo date("Y-m-d H:i:s", mktime(12,0,0,3,+90,2000,1))."\n";
23 echo date("Y-m-d H:i:s", mktime(12,0,0,5,-90,2000,0))."\n";
26 echo date("Y-m-d H:i:s", mktime(12,0,0,5,-1,2000,0))."\n";
[all …]
/PHP-5.3/ext/reflection/tests/
H A D009.phpt16 echo "--getName--\n";
18 echo "--isInternal--\n";
20 echo "--isUserDefined--\n";
22 echo "--getFilename--\n";
24 echo "--getStartline--\n";
26 echo "--getEndline--\n";
28 echo "--getDocComment--\n";
32 echo "--invoke--\n";
34 echo "--invokeArgs--\n";
38 echo "--getParameters--\n";
[all …]
H A D025.phpt18 echo "--getName--\n";
20 echo "--isInternal--\n";
22 echo "--isUserDefined--\n";
24 echo "--getFilename--\n";
26 echo "--getStartline--\n";
28 echo "--getEndline--\n";
30 echo "--getDocComment--\n";
34 echo "--invoke--\n";
36 echo "--invokeArgs--\n";
40 echo "--getParameters--\n";
[all …]
/PHP-5.3/ext/oci8/tests/
H A Dini_1.phpt18 echo "Test 1 - check initialization\n";
19 echo 'oci8.privileged_connect = ' . ini_get('oci8.privileged_connect') . "\n";
20 echo 'oci8.max_persistent = ' . ini_get('oci8.max_persistent') . "\n";
22 echo 'oci8.ping_interval = ' . ini_get('oci8.ping_interval') . "\n";
23 echo 'oci8.connection_class = ' . ini_get('oci8.connection_class') . "\n";
24 echo 'oci8.events = ' . ini_get('oci8.events') . "\n";
26 echo 'oci8.default_prefetch = ' . ini_get('oci8.default_prefetch') . "\n";
29 echo "Test 2 - check what can be changed at runtime\n";
33 echo 'oci8.max_persistent = ' . ini_get('oci8.max_persistent') . "\n";
37 echo 'oci8.ping_interval = ' . ini_get('oci8.ping_interval') . "\n";
[all …]
/PHP-5.3/ext/standard/tests/general_functions/
H A Disset_basic1.phpt11 echo "*** Testing isset() : basic functionality ***\n";
22 echo "Integer test: " . (isset($i) ? "YES": "NO") . "\n";
23 echo "Float test: " . (isset($f) ? "YES": "NO") . "\n";
24 echo "String test: " . (isset($s) ? "YES": "NO") . "\n";
25 echo "Array test: " . (isset($a) ? "YES": "NO") . "\n";
26 echo "Boolean test: " . (isset($b) ? "YES": "NO") . "\n";
27 echo "Null test: " . (isset($n) ? "YES": "NO") . "\n";
31 echo "\n\nUnset the variables\n\n";
35 echo "Float test: " . (isset($f) ? "YES": "NO") . "\n";
37 echo "Array test: " . (isset($a) ? "YES": "NO") . "\n";
[all …]
/PHP-5.3/ext/mbstring/tests/
H A Dmb_convert_encoding_stateful.phpt10 echo "ISO-2022-JP empty segment\n";
11 echo bin2hex(mb_convert_encoding(pack("H*", "1b24401b24402121"), "UTF-8", "ISO-2022-JP")), "\n";
12 echo bin2hex(mb_convert_encoding(pack("H*", "1b24421b24422121"), "UTF-8", "ISO-2022-JP")), "\n";
13 echo bin2hex(mb_convert_encoding(pack("H*", "1b28421b284261626364"), "UTF-8", "ISO-2022-JP")), "\n";
14 echo bin2hex(mb_convert_encoding(pack("H*", "1b284a1b284a61626364"), "UTF-8", "ISO-2022-JP")), "\n";
15 echo bin2hex(mb_convert_encoding(pack("H*", "1b24401b284261626364"), "UTF-8", "ISO-2022-JP")), "\n";
16 echo bin2hex(mb_convert_encoding(pack("H*", "1b24401b284a61626364"), "UTF-8", "ISO-2022-JP")), "\n";
17 echo bin2hex(mb_convert_encoding(pack("H*", "1b24421b284261626364"), "UTF-8", "ISO-2022-JP")), "\n";
19 echo "ISO-2022-KR empty segment\n";
21 echo "HZ empty segment\n";
[all …]

Completed in 77 milliseconds

12345678910>>...283