/PHP-5.6/Zend/tests/ |
H A D | zend2.php.txt | 12 print "\n"; 43 print "Circle\n"; 50 print "Square\n"; 114 print "\n"; 132 print "\n"; 177 print "\n"; 184 print "\n"; 217 print "\n"; 222 print "\n"; 224 print "\n"; [all …]
|
H A D | bug37632.phpt | 10 echo __METHOD__ . "\n"; 18 echo __METHOD__ . "\n"; 27 echo __METHOD__ . "\n"; 38 echo __METHOD__ . "\n"; 46 echo __METHOD__ . "\n"; 55 echo __METHOD__ . "\n"; 74 echo __METHOD__ . "\n"; 82 echo __METHOD__ . "\n"; 91 echo __METHOD__ . "\n"; 103 echo __METHOD__ . "\n"; [all …]
|
H A D | jump02.phpt | 5 $n = 1; 7 if ($n > 3) goto L2; 8 echo "$n: ok\n"; 9 $n++;
|
/PHP-5.6/ext/reflection/tests/ |
H A D | ReflectionParameter_002.phpt | 14 $firstParam = "Hello\n"; 22 echo "Parameters from staticMethod:\n\n"; 26 echo "This param is passed by reference\n"; 28 echo "This param is not passed by reference\n"; 30 echo "\n"; 37 echo "Parameters from instanceMethod:\n\n"; 41 echo "This param is passed by reference\n"; 43 echo "This param is not passed by reference\n"; 45 echo "\n"; 48 echo "done\n";
|
H A D | ReflectionProperty_constructor_variation1.phpt | 30 echo "--> Reflect inherited private from global scope:\n"; 38 echo "\n\n--> Reflect inherited private from declaring scope:\n"; 41 echo "\n\n--> Reflect inherited private from declaring scope via subclass:\n"; 44 echo "\n\n--> Reflect inherited private from subclass:\n";
|
/PHP-5.6/ext/standard/tests/strings/ |
H A D | ltrim_basic.phpt | 11 echo "*** Testing ltrim() : basic functionality ***\n"; 13 $text = " \t\r\n\0\x0B ---These are a few words--- "; 18 echo "\n-- Trim string with all white space characters --\n"; 21 echo "\n-- Trim non-whitespace from a string --\n"; 24 echo "\n-- Trim some non-white space characters from a string --\n"; 27 echo "\n-- Trim some non-white space characters from a string suing a character range --\n"; 31 echo "\n-- Trim the ASCII control characters at the beginning of a string --\n";
|
H A D | rtrim_basic.phpt | 11 echo "*** Testing rtrim() : basic functionality ***\n"; 13 $text = "---These are a few words--- \t\r\n\0\x0B "; 20 echo "\n-- Trim string with all white space characters --\n"; 23 echo "\n-- Trim non-whitespace from a string --\n"; 26 echo "\n-- Trim some non-white space characters from a string --\n"; 29 echo "\n-- Trim some non-white space characters from a string using a character range --\n"; 32 echo "\n-- Trim the ASCII control characters at the beginning of a string --\n";
|
/PHP-5.6/ext/oci8/tests/ |
H A D | bind_char_1_11gR1.phpt | 51 echo "Test 1.3: Type: AFC: Length: 0\n"; 56 echo "Test 1.4: Type: AFC: Length: strlen\n"; 71 echo "\n\n*** NULL data tests against CHAR ***\n"; 86 echo "Test 2.3: Type: AFC: Length: 0\n"; 107 echo "\n\n*** Non-null Data Tests against VARCHAR2***\n"; 122 echo "Test 3.3: Type: AFC: Length: 0\n"; 143 echo "\n\n*** NULL data tests against VARCHAR2 ***\n"; 158 echo "Test 4.3: Type: AFC: Length: 0\n"; 182 echo " Querying:\n"; 192 echo " :" . $item . ":\n"; [all …]
|
/PHP-5.6/ext/mysqli/tests/ |
H A D | mysqli_connect_oo_defaults.phpt | 47 printf("%s\n", $e->getMessage()); 65 printf("%s\n", $e->getMessage()); 66 printf("[004] Usage of mysqli.default_port failed\n"); 83 printf("%s\n", $e->getMessage()); 84 printf("[006] Usage of mysqli.default_pw failed\n"); 101 printf("%s\n", $e->getMessage()); 102 printf("[008] Usage of mysqli.default_user failed\n"); 126 printf("%s\n", $e->getMessage()); 127 printf("[012] Usage of mysqli.default_host failed\n"); 139 printf("%s\n", $e->getMessage()); [all …]
|
H A D | mysqli_stmt_free_result.phpt | 22 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 25 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 30 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 34 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 40 printf("[006] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 46 printf("[008] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 49 printf("[009] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 54 printf("[010] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 63 printf("[013] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 66 printf("[014] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
/PHP-5.6/ext/hash/tests/ |
H A D | sha1.phpt | 7 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 D | sha224.phpt | 7 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 D | sha256.phpt | 7 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 D | sha384.phpt | 7 echo hash('sha384', '') . "\n"; 8 echo hash('sha384', 'a') . "\n"; 9 echo hash('sha384', '012345678901234567890123456789012345678901234567890123456789') . "\n"; 12 echo hash('sha384', 'abc') . "\n"; 13 …jdefghijkefghijklfghijklmghijklmnhijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu') . "\n"; 14 echo hash('sha384', str_repeat('a', 1000000)) . "\n";
|
H A D | sha512.phpt | 7 echo hash('sha512', '') . "\n"; 8 echo hash('sha512', 'a') . "\n"; 9 echo hash('sha512', '012345678901234567890123456789012345678901234567890123456789') . "\n"; 12 echo hash('sha512', 'abc') . "\n"; 13 …jdefghijkefghijklfghijklmghijklmnhijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu') . "\n"; 14 echo hash('sha512', str_repeat('a', 1000000)) . "\n";
|
/PHP-5.6/ext/spl/tests/ |
H A D | recursive_tree_iterator_001.phpt | 28 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 D | arrayObject_magicMethods1.phpt | 34 echo "\n--> Write existent, non-existent and dynamic:\n"; 38 echo " Original wrapped object:\n"; 40 echo " Wrapping ArrayObject:\n"; 43 echo "\n--> Read existent, non-existent and dynamic:\n"; 47 echo " Original wrapped object:\n"; 49 echo " Wrapping ArrayObject:\n"; 52 echo "\n--> isset existent, non-existent and dynamic:\n"; 56 echo " Original wrapped object:\n"; 58 echo " Wrapping ArrayObject:\n"; 61 echo "\n--> Unset existent, non-existent and dynamic:\n"; [all …]
|
/PHP-5.6/ext/calendar/tests/ |
H A D | gregoriantojd.phpt | 7 echo gregoriantojd( 0, 0, 0). "\n"; 8 echo gregoriantojd( 1, 1, 1582). "\n"; 9 echo gregoriantojd(10, 5, 1582). "\n"; 10 echo gregoriantojd( 1, 1, 1970). "\n"; 11 echo gregoriantojd( 1, 1, 2999). "\n";
|
H A D | jdtogregorian.phpt | 7 echo jdtogregorian(0). "\n"; 8 echo jdtogregorian(2298874). "\n"; 9 echo jdtogregorian(2299151). "\n"; 10 echo jdtogregorian(2440588). "\n"; 11 echo jdtogregorian(2816423). "\n";
|
H A D | jdtojulian.phpt | 7 echo jdtojulian(0). "\n"; 8 echo jdtojulian(2298874). "\n"; 9 echo jdtojulian(2299151). "\n"; 10 echo jdtojulian(2440588). "\n"; 11 echo jdtojulian(2816423). "\n";
|
H A D | juliantojd.phpt | 7 echo juliantojd( 0, 0, 0). "\n"; 8 echo juliantojd( 1, 1, 1582). "\n"; 9 echo juliantojd(10, 5, 1582). "\n"; 10 echo juliantojd( 1, 1, 1970). "\n"; 11 echo juliantojd( 1, 1, 2999). "\n";
|
/PHP-5.6/ext/mbstring/tests/ |
H A D | mb_ereg_basic.phpt | 22 echo "Regex encoding set to utf-8\n"; 34 echo "\n**-- ASCII String --**\n"; 35 echo "-- Without \$regs argument--\n"; 38 echo "--With \$regs argument --\n"; 44 echo "\n**-- Multibyte String --**\n"; 45 echo "-- Without \$regs argument --\n"; 48 echo "-- With \$regs argument --\n"; 63 echo "array(" . count($regs) . ") {\n"; 65 echo " [$key]=>\n "; 72 echo "}\n"; [all …]
|
/PHP-5.6/ext/standard/tests/dir/ |
H A D | scandir_variation4.phpt | 14 echo "*** Testing scandir() : usage variations ***\n"; 30 echo "\n-- \$path = './level_one': --\n"; 34 echo "\n-- \$path = 'level_one/level_two': --\n"; 38 echo "\n-- \$path = '..': --\n"; 42 echo "\n-- \$path = 'level_two', '.': --\n"; 46 echo "\n-- \$path = '../': --\n"; 50 echo "\n-- \$path = './': --\n"; 54 echo "\n-- \$path = '../../'level_one': --\n";
|
/PHP-5.6/ext/standard/tests/array/ |
H A D | shuffle_variation5.phpt | 22 \n 32 hello\tworld\nhello\nworld\n 66 echo "\n-- with array of heredoc strings --\n"; 68 echo "\nThe output array is:\n"; 72 echo "\n-- with array having heredoc strings as keys --\n"; 74 echo "\nThe output array is:\n"; 88 string\([0-9]*\) "[0-9 a-z \n \0 \t]*" 90 string\([0-9]*\) "[0-9 a-z \n \0 \t]*" 92 string\([0-9]*\) "[0-9 a-z \n \0 \t]*" 94 string\([0-9]*\) "[0-9 a-z \n \0 \t]*" [all …]
|
/PHP-5.6/tests/lang/ |
H A D | bug22510.phpt | 12 print __CLASS__."::".__FUNCTION__."\n"; 17 print __CLASS__."::".__FUNCTION__."\n"; 22 print __CLASS__."::".__FUNCTION__."\n"; 57 print __FUNCTION__."\n"; 63 print __FUNCTION__."\n"; 68 print __FUNCTION__."\n"; 74 print __FUNCTION__."\n"; 82 print "done!\n"; 85 print "done!\n"; 88 print "done!\n"; [all …]
|