/PHP-5.6/ext/standard/tests/file/ |
H A D | 001.phpt | 16 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 …]
|
H A D | 001-win32.phpt | 16 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.6/ext/spl/tests/ |
H A D | heap_001.phpt | 11 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"; 36 echo $h->extract()."\n"; [all …]
|
/PHP-5.6/ext/standard/tests/strings/ |
H A D | bug53021.phpt | 6 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 …]
|
H A D | add-and-stripcslashes.phpt | 5 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.6/ext/hash/tests/ |
H A D | hash_hmac_basic.phpt | 14 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 …]
|
H A D | ripemd128.phpt | 7 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 D | ripemd160.phpt | 7 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 D | ripemd256.phpt | 7 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 D | ripemd320.phpt | 7 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 D | gost.phpt | 7 echo hash('gost', ''), "\n"; 8 echo hash('gost', 'The quick brown fox jumps over the lazy dog'), "\n"; 9 echo hash('gost', 'The quick brown fox jumps over the lazy cog'), "\n"; 10 echo hash('gost', str_repeat('a', 31)), "\n"; 11 echo hash('gost', str_repeat('a', 32)), "\n"; 12 echo hash('gost', str_repeat('a', 33)), "\n"; 14 echo hash('gost-crypto', ''), "\n"; 15 echo hash('gost-crypto', 'The quick brown fox jumps over the lazy dog'), "\n"; 17 echo hash('gost-crypto', str_repeat('a', 31)), "\n"; 18 echo hash('gost-crypto', str_repeat('a', 32)), "\n"; [all …]
|
/PHP-5.6/ext/interbase/tests/ |
H A D | 007.phpt | 31 echo "insert\n"; 78 echo " CHAR[$i] fail:\n"; 83 echo " DATE[$i] fail\n"; 126 echo "select\n"; 137 echo "CHAR fail\n"; 144 echo "DATE fail\n"; 150 echo "DECIMAL fail\n"; 156 echo "INTEGER fail\n"; 162 echo "NUMERIC fail\n"; 168 echo "SMALLINT fail\n"; [all …]
|
H A D | 006.phpt | 37 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.6/ext/xmlreader/tests/ |
H A D | 003.phpt | 24 echo $reader->name . ": "; 25 echo $reader->value . "\n"; 33 echo $reader->name . ": "; 34 echo $reader->value . "\n"; 42 echo $reader->name . ": "; 43 echo $reader->value . "\n"; 46 echo "attr num failed\n"; 50 echo $reader->name . ": "; 54 echo "attr idx failed\n"; 59 echo $reader->name . ": "; [all …]
|
/PHP-5.6/ext/pdo_oci/tests/ |
H A D | pdo_oci_stream_1.phpt | 38 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.6/sapi/cli/tests/ |
H A D | 016.phpt | 20 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.6/ext/mbstring/tests/ |
H A D | mb_str_functions_opt-parameter.phpt | 7 echo mb_strpos('abb', 'b', null, 'UTF-8') . "\n"; 8 echo mb_strrpos('abb', 'b', null, 'UTF-8') . "\n"; 9 echo mb_stripos('abb', 'B', null, 'UTF-8') . "\n"; 10 echo mb_strripos('abb', 'B', null, 'UTF-8') . "\n"; 11 echo mb_strstr('foobarbaz', 'ba', null, 'UTF-8') . "\n"; 12 echo mb_strrchr('foobarbaz', 'ba', null, 'UTF-8') . "\n"; 13 echo mb_stristr('foobarbaz', 'BA', null, 'UTF-8') . "\n"; 14 echo mb_strrichr('foobarbaz', 'BA', null, 'UTF-8') . "\n"; 15 echo mb_substr('foobarbaz', 6, null, 'UTF-8') . "\n"; 16 echo mb_strcut('foobarbaz', 6, null, 'UTF-8') . "\n"; [all …]
|
/PHP-5.6/ext/shmop/tests/ |
H A D | 001.phpt | 20 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.6/ext/imap/tests/ |
H A D | imap_rfc822_parse_headers_basic.phpt | 29 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.6/Zend/tests/ |
H A D | bug60362.phpt | 8 echo "sub-key 'non_existent' is set: "; 14 echo "sub-key 1 is set: "; 17 echo "sub-key 1 is not set.\n"; 20 echo "-------------------\n"; 22 echo "sub-key 'sub_sub' is set: "; 28 echo "sub-sub-key 0 is set: "; 34 echo "-------------------\n"; 42 echo "sub-key 1 is empty.\n"; 44 echo "sub-key 1 is not empty: "; 48 echo "-------------------\n"; [all …]
|
/PHP-5.6/ext/intl/tests/ |
H A D | bug68447.phpt | 8 echo grapheme_extract($katsushikaku, 1) . "\n"; 11 echo grapheme_extract($haiyore, 1, GRAPHEME_EXTR_COUNT) . "\n"; 12 echo grapheme_extract($haiyore, 2, GRAPHEME_EXTR_COUNT) . "\n"; 13 echo grapheme_extract($haiyore, 6, GRAPHEME_EXTR_MAXBYTES) . "\n"; 14 echo grapheme_extract($haiyore, 9, GRAPHEME_EXTR_MAXBYTES) . "\n"; 15 echo grapheme_extract($haiyore, 12, GRAPHEME_EXTR_MAXBYTES) . "\n"; 16 echo grapheme_extract($haiyore, 1, GRAPHEME_EXTR_MAXCHARS) . "\n"; 17 echo grapheme_extract($haiyore, 2, GRAPHEME_EXTR_MAXCHARS) . "\n"; 18 echo grapheme_extract($haiyore, 3, GRAPHEME_EXTR_MAXCHARS) . "\n";
|
/PHP-5.6/ext/standard/tests/math/ |
H A D | acos_basic.phpt | 18 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 D | asin_basic.phpt | 18 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 D | deg2rad_basic.phpt | 21 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 D | rad2deg_basic.phpt | 20 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 …]
|