/PHP-7.0/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 …]
|
H A D | imap_headerinfo_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-7.0/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 …]
|
H A D | foreach_017.phpt | 9 echo "$v\n"; 15 echo "\n"; 21 echo "$v\n"; 27 echo "\n"; 33 echo "$v\n"; 39 echo "\n"; 47 echo "$v\n"; 53 echo "\n"; 59 echo "$v\n"; 65 echo "\n"; [all …]
|
/PHP-7.0/ext/hash/tests/ |
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 …]
|
H A D | hash_hmac_file_basic.phpt | 15 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-7.0/ext/standard/tests/math/ |
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 …]
|
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 …]
|
/PHP-7.0/ext/spl/tests/ |
H A D | heap_002.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"; 35 echo $h->extract()."\n";
|
H A D | iterator_028.phpt | 10 echo "===?===\n"; 12 foreach($it as $v) echo $it->getDepth() . ": $v\n"; 14 echo "===2===\n"; 17 foreach($it as $v) echo $it->getDepth() . ": $v\n"; 19 echo "===X===\n"; 22 foreach($it as $v) echo $it->getDepth() . ": $v\n"; 24 echo "===3===\n"; 27 foreach($it as $v) echo $it->getDepth() . ": $v\n"; 29 echo "===5===\n"; 34 echo "===0===\n"; [all …]
|
/PHP-7.0/ext/standard/tests/general_functions/ |
H A D | var_export_bug66179.phpt | 7 echo PHP_EOL; 9 echo PHP_EOL; 11 echo PHP_EOL; 13 echo PHP_EOL; 15 echo PHP_EOL; 17 echo PHP_EOL; 19 echo PHP_EOL;
|
H A D | isset_basic1.phpt | 11 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 …]
|
H A D | 009.phpt | 9 echo test(""); 10 echo test("a"); 11 echo test("abc"); 12 echo test("message digest"); 13 echo test("abcdefghijklmnopqrstuvwxyz"); 14 echo test("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"); 15 echo test("12345678901234567890123456789012345678901234567890123456789012345678901234567890");
|
/PHP-7.0/ext/reflection/tests/ |
H A D | 009.phpt | 18 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 …]
|
H A D | 025.phpt | 20 echo "--getName--\n"; 22 echo "--isInternal--\n"; 24 echo "--isUserDefined--\n"; 26 echo "--getFilename--\n"; 28 echo "--getStartline--\n"; 30 echo "--getEndline--\n"; 32 echo "--getDocComment--\n"; 36 echo "--invoke--\n"; 38 echo "--invokeArgs--\n"; 42 echo "--getParameters--\n"; [all …]
|
/PHP-7.0/ext/mbstring/tests/ |
H A D | mb_convert_encoding_stateful.phpt | 10 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 …]
|
/PHP-7.0/tests/lang/ |
H A D | static_basic_001.phpt | 6 echo "\nSame variable used as static and non static.\n"; 8 echo "---------\n"; 10 echo "$a\n"; 12 echo "$a\n"; 24 echo "Unitialised : $a\n"; 25 echo "Initialised to 10: $b\n"; 26 echo "Initialised to 20: $c\n"; 27 echo "Unitialised : $d\n"; 28 echo "Initialised to 30: $e\n"; 40 echo "\nUsing static keyword at global scope\n"; [all …]
|
/PHP-7.0/ext/gd/tests/ |
H A D | png2gd.phpt | 17 echo "PNG to GD1 conversion: "; 18 echo imagegd(imagecreatefrompng($cwd . "/conv_test.png"), $cwd . "/test.gd1") ? 'ok' : 'failed'; 19 echo "\n"; 21 echo "PNG to GD2 conversion: "; 22 echo imagegd2(imagecreatefrompng($cwd . "/conv_test.png"), $cwd . "/test.gd2") ? 'ok' : 'failed'; 23 echo "\n"; 25 echo "GD1 to PNG conversion: "; 26 echo imagepng(imagecreatefromgd($cwd . "/test.gd1"), $cwd . "/test_gd1.png") ? 'ok' : 'failed'; 27 echo "\n"; 29 echo "GD2 to PNG conversion: "; [all …]
|
H A D | jpg2gd.phpt | 17 echo "JPEG to GD1 conversion: "; 18 echo imagegd(imagecreatefromjpeg($cwd . "/conv_test.jpeg"), $cwd . "/test.gd1") ? 'ok' : 'failed'; 19 echo "\n"; 21 echo "JPEG to GD2 conversion: "; 22 echo imagegd2(imagecreatefromjpeg($cwd . "/conv_test.jpeg"), $cwd . "/test.gd2") ? 'ok' : 'failed'; 23 echo "\n"; 25 echo "GD1 to JPEG conversion: "; 26 echo imagejpeg(imagecreatefromgd($cwd . "/test.gd1"), $cwd . "/test_gd1.jpeg") ? 'ok' : 'failed'; 27 echo "\n"; 29 echo "GD2 to JPEG conversion: "; [all …]
|
/PHP-7.0/ext/oci8/tests/ |
H A D | lob_031.phpt | 38 echo " 1. ".$row[0]->tell(). "\n"; 41 echo " 2. ".$row[0]->tell(). "\n"; 44 echo " 3. ".$row[0]->tell(). "\n"; 47 echo " 4. ".$row[0]->tell(). "\n"; 50 echo " 5. ".$row[0]->tell(). "\n"; 54 echo " 6. ".$row[0]->tell(). "\n"; 57 echo " 8. ".$row[0]->tell(). "\n"; 61 echo " 9. ".$row[0]->tell(). "\n"; 64 echo "10. ".$row[0]->tell(). "\n"; 67 echo "11. ".$row[0]->tell(). "\n"; [all …]
|
/PHP-7.0/ext/date/tests/ |
H A D | bug17988.phpt | 7 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 EDT"))."\n"; 10 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728-00"))."\n"; 11 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728+00"))."\n"; 12 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728-04"))."\n"; 13 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728+04"))."\n"; 14 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728-0300"))."\n"; 15 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728+0300"))."\n"; 16 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728-0330"))."\n"; [all …]
|
/PHP-7.0/ext/standard/tests/array/ |
H A D | sizeof_basic1.phpt | 23 echo "default mode: "; 25 echo "\n"; 26 echo "COUNT_NORMAL mode: "; 28 echo "\n"; 29 echo "COUNT_RECURSIVE mode: "; 31 echo "\n"; 34 echo "default mode: "; 36 echo "\n"; 37 echo "COUNT_NORMAL mode: "; 39 echo "\n"; [all …]
|
/PHP-7.0/ext/zip/tests/ |
H A D | oo_extract.phpt | 15 echo "open failed.\n"; 21 echo "failed. mkdir\n"; 25 echo "failed. mkdir foobar\n"; 29 echo "failed. extract foobar/baz\n"; 35 echo "failed. bar file\n"; 37 echo file_get_contents($dirname . '__oo_extract_tmp/bar') . "\n"; 41 echo "failed. foo file\n"; 43 echo file_get_contents($dirname . '__oo_extract_tmp/foo') . "\n"; 50 echo "failed. extract bar file\n"; 58 echo "failed. extract bar file\n"; [all …]
|