/PHP-7.4/ext/reflection/tests/ |
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";
|
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 | bug43926.phpt | 27 …nstance($ca) ? 'true' : 'false') .", instanceof: ". (($ca instanceof A) ? 'true' : 'false') ."\n"); 28 …nstance($ca) ? 'true' : 'false') .", instanceof: ". (($ca instanceof C) ? 'true' : 'false') ."\n"); 29 …nstance($ca) ? 'true' : 'false') .", instanceof: ". (($ca instanceof D) ? 'true' : 'false') ."\n"); 30 …nstance($ca) ? 'true' : 'false') .", instanceof: ". (($ca instanceof E) ? 'true' : 'false') ."\n"); 31 print "-\n"; 32 …nstance($cc) ? 'true' : 'false') .", instanceof: ". (($cc instanceof A) ? 'true' : 'false') ."\n"); 33 …nstance($cc) ? 'true' : 'false') .", instanceof: ". (($cc instanceof C) ? 'true' : 'false') ."\n"); 34 …nstance($cc) ? 'true' : 'false') .", instanceof: ". (($cc instanceof D) ? 'true' : 'false') ."\n"); 35 …nstance($cc) ? 'true' : 'false') .", instanceof: ". (($cc instanceof E) ? 'true' : 'false') ."\n"); 36 print "-\n"; [all …]
|
/PHP-7.4/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";
|
/PHP-7.4/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";
|
H A D | wordwrap_variation5.phpt | 14 echo "*** Testing wordwrap() : usage variations ***\n"; 21 echo "\n-- Testing wordwrap() with default break value and single space as value --\n"; 22 echo "-- with default break and cut value --\n"; 25 echo "-- with default cut value --\n"; 31 echo "-- with cut value as false --\n"; 36 echo "-- with cut value as true --\n"; 41 echo "Done\n"; 58 string(43) "T e s t i n g w o r d r a p f u n c t i o n" 59 string(64) "T e s t i n g w o r d r a p f u n c t i o n"
|
/PHP-7.4/sapi/cli/tests/ |
H A D | 012-2.phpt | 16 var_dump(`"$php" -n -r "echo 1;" -F some.php`); 17 var_dump(`"$php" -n -r "echo 2;" -f some.php`); 19 var_dump(`"$php" -n -r "echo 4;" -R some.php`); 20 var_dump(`"$php" -n -r "echo 5;" -B ""`); 21 var_dump(`"$php" -n -a -B ""`); 22 var_dump(`"$php" -n -r "echo 6;" -E ""`); 23 var_dump(`"$php" -n -a -E ""`); 24 var_dump(`"$php" -n -r "echo 7;" -s`); 25 var_dump(`"$php" -n -r "echo 8;" -w`); 26 var_dump(`"$php" -n -l -r "echo 9;"`); [all …]
|
/PHP-7.4/ext/ffi/tests/ |
H A D | 013.phpt | 17 echo get_class($e) . ": " . $e->getMessage()."\n"; 23 echo get_class($e) . ": " . $e->getMessage()."\n"; 27 echo "ok\n"; 29 echo get_class($e) . ": " . $e->getMessage()."\n"; 33 echo "ok\n"; 35 echo get_class($e) . ": " . $e->getMessage()."\n"; 39 echo "ok\n"; 41 echo get_class($e) . ": " . $e->getMessage()."\n"; 45 echo "ok\n"; 47 echo get_class($e) . ": " . $e->getMessage()."\n"; [all …]
|
/PHP-7.4/ext/soap/tests/bugs/ |
H A D | bug30045.phpt | 53 echo "byte\n"; 59 echo "\nshort\n"; 65 echo "\nint\n"; 71 echo "\nlong\n"; 77 echo "\nunsignedByte\n"; 83 echo "\nunsignedShort\n"; 89 echo "\nunsignedInt\n"; 95 echo "\nunsignedLong\n"; 121 echo "\ninteger\n"; 125 echo "long\n"; [all …]
|
/PHP-7.4/ext/enchant/tests/ |
H A D | broker_free_01.phpt | 8 if (!is_resource(enchant_broker_init())) {die("skip, resource dont load\n");} 14 echo("OK\n"); 17 echo("OK\n"); 19 echo("broker free failed\n"); 22 echo("init failed\n"); 24 echo("OK\n");
|
/PHP-7.4/Zend/tests/generators/finally/ |
H A D | finally_ran_on_close.phpt | 9 echo "before yield\n"; 11 echo "after yield\n"; 13 echo "finally run\n"; 15 echo "code after finally\n"; 17 echo "second finally run\n"; 19 echo "code after second finally\n";
|
/PHP-7.4/ext/oci8/tests/ |
H A D | fetch_array.phpt | 17 die("oci_parse(insert) failed!\n"); 27 die("oci_commit() failed!\n"); 30 echo "Test 1\n"; 35 die("oci_parse(select) failed!\n"); 45 echo "Test 2\n"; 54 echo "Test 3\n"; 63 echo "Test 4\n"; 72 echo "Test 5\n"; 81 echo "Test 6\n"; 90 echo "Test 7\n"; [all …]
|
/PHP-7.4/ext/mysqli/tests/ |
H A D | mysqli_change_user_locks_temporary.phpt | 16 printf("[001] Cannot create second connection handle, [%d] %s\n", 20 printf("[002] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 34 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 37 printf("[004] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 40 printf("[005] There should be some rows in the table test\n"); 46 printf("[006] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 49 printf("[007] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 52 printf("[008] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 55 printf("[009] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 61 printf("[011] There should be three rows in the table test\n"); [all …]
|
H A D | mysqli_insert_packet_overflow.phpt | 9 die(sprintf("SKIP [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error())); 13 die(sprintf("SKIP [%d] %s\n", mysqli_errno($link), mysqli_error($link))); 16 die(sprintf("SKIP [%d] %s\n", mysqli_errno($link), mysqli_error($link))); 29 printf("[002] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 32 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 59 printf("[008] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 62 printf("[009] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 75 printf("[012] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 90 printf("[014] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 93 printf("[015] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); [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 false, 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 …]
|
H A D | mysqli_real_escape_string_eucjpms.phpt | 12 die(sprintf("skip Cannot connect to MySQL, [%d] %s\n", 26 passwd=***, dbname=%s, port=%s, socket=%s - [%d] %s\n", $host, $user, $db, 31 printf("Failed to drop old test table: [%d] %s\n", mysqli_errno($link), 37 printf("Failed to create test table: [%d] %s\n", mysqli_errno($link), 44 printf("[004] Expecting \\\\, got %s\n", $tmp); 47 printf("[005] Expecting \", got %s\n", $tmp); 50 printf("[006] Expecting ', got %s\n", $tmp); 52 …if ("�����Ȥ߹�碌�Ǥ�\\n�����Ȥ߹�碌�Ǥ�" !== ($tmp = mysqli_real_escape_string($link, "�����Ȥ߹�碌�Ǥ�\n����… 53 printf("[007] Expecting \\n, got %s\n", $tmp); 56 printf("[008] Expecting \\r, got %s\n", $tmp); [all …]
|
/PHP-7.4/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-7.4/ext/standard/tests/dir/ |
H A D | opendir_variation4-win32-mb.phpt | 20 echo "*** Testing opendir() : usage variation ***\n"; 35 echo "\n-- \$path = './私はガラスを食べられますlevel_one': --\n"; 40 echo "\n-- \$path = '私はガラスを食べられますlevel_one/私はガラスを食べられますlevel_two': --\n"; 45 echo "\n-- \$path = '..': --\n"; 49 echo "\n-- \$path = 'level_two', '.': --\n"; 54 echo "\n-- \$path = '../': --\n"; 58 echo "\n-- \$path = './': --\n"; 63 echo "\n-- \$path = '../../'私はガラスを食べられますlevel_one': --\n";
|
H A D | scandir_variation4-win32-mb.phpt | 20 echo "*** Testing scandir() : usage variations ***\n"; 37 echo "\n-- \$path = './私はガラスを食べられますlevel_one': --\n"; 41 echo "\n-- \$path = 'level_one/私はガラスを食べられますlevel_two': --\n"; 45 echo "\n-- \$path = '..': --\n"; 49 echo "\n-- \$path = '私はガラスを食べられますlevel_two', '.': --\n"; 53 echo "\n-- \$path = '../': --\n"; 57 echo "\n-- \$path = './': --\n"; 61 echo "\n-- \$path = '../../'私はガラスを食べられますlevel_one': --\n";
|
H A D | scandir_variation4.phpt | 14 echo "*** Testing scandir() : usage variations ***\n"; 31 echo "\n-- \$path = './level_one': --\n"; 35 echo "\n-- \$path = 'level_one/level_two': --\n"; 39 echo "\n-- \$path = '..': --\n"; 43 echo "\n-- \$path = 'level_two', '.': --\n"; 47 echo "\n-- \$path = '../': --\n"; 51 echo "\n-- \$path = './': --\n"; 55 echo "\n-- \$path = '../../'level_one': --\n";
|
/PHP-7.4/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-7.4/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"; 83 print "done!\n"; 86 print "done!\n"; 89 print "done!\n"; [all …]
|
/PHP-7.4/ext/iconv/tests/ |
H A D | iconv_basic.phpt | 19 echo "*** Testing iconv() : basic functionality ***\n"; 26 echo "\n-- Convert to EUC-JP --\n"; 27 echo "Expected EUC-JP encoded string in base64:\n"; 29 echo "Converted Strings:\n"; 33 echo "\n-- Convert to SJIS --\n"; 34 echo "Expected SJIS encoded string in base64:\n"; 36 echo "Converted Strings:\n"; 40 echo "\n-- Convert to UTF-8 --\n"; 41 echo "Expected UTF-8 encoded string in base64:\n"; 43 echo "Converted Strings:\n";
|
/PHP-7.4/ext/date/tests/ |
H A D | gmdate_variation6.phpt | 11 echo "*** Testing gmdate() : usage variation ***\n"; 17 echo "\n-- Testing gmdate() function with full textual representation of month format --\n"; 21 echo "\n-- Testing gmdate() function with numeric representation of month format --\n"; 25 echo "\n-- Testing gmdate() function with short textual representation of month format --\n"; 29 echo "\n-- Testing gmdate() function with numeric representation of month without leading zeros for… 30 var_dump( gmdate('n') ); 31 var_dump( gmdate('n', $timestamp) ); 33 echo "\n-- Testing gmdate() function with number of days in a month format --\n";
|