/PHP-8.1/tests/strings/ |
H A D | 002.phpt | 12 printf("printf test 2:%d\n", 42); 13 printf("printf test 3:%f\n", 10.0/3); 14 printf("printf test 4:%.10f\n", 10.0/3); 15 printf("printf test 5:%-10.2f\n", 2.5); 16 printf("printf test 6:%-010.2f\n", 2.5); 17 printf("printf test 7:%010.2f\n", 2.5); 25 printf("printf test 13:%5d\n", -12); 26 printf("printf test 14:%c\n", 64); 27 printf("printf test 15:%b\n", 170); 28 printf("printf test 16:%x\n", 170); [all …]
|
/PHP-8.1/ext/standard/tests/strings/ |
H A D | sprintf_star.phpt | 11 printf("%.*f\n", 10, $f); 12 printf("%.*G\n", 10, $f); 13 printf("%.*g\n", -1, $fx); 14 printf("%.*G\n", -1, $fx); 15 printf("%.*h\n", -1, $fx); 16 printf("%.*H\n", -1, $fx); 20 printf("%*f\n", 10, $f); 21 printf("%*G\n", 10, $f); 32 printf("%2$.*f\n", 10, $f); 34 printf("%*2\$f\n", $f, 10); [all …]
|
H A D | bug26973.phpt | 6 printf("%+05d\n", 200); 7 printf("%+05d\n", -200); 8 printf("%+05f\n", 200); 9 printf("%+05f\n", -200); 10 printf("%+05u\n", 200); 11 printf("%+05u\n", -200); 13 printf("%05d\n", 200); 14 printf("%05d\n", -200); 15 printf("%05f\n", 200); 16 printf("%05f\n", -200); [all …]
|
H A D | crc32.phpt | 7 printf("%u\n", crc32($i)); 9 printf("%u\n", crc32("1234567890123456")); 10 printf("%u\n", crc32("1234567890123456abc")); 11 printf("%u\n", crc32("12345678901234561234567890123456")); 12 printf("%u\n", crc32("12345678901234561234567890123456abc")); 13 printf("%u\n", crc32("123456789012345612345678901234561234567890123456")); 14 printf("%u\n", crc32("123456789012345612345678901234561234567890123456abc")); 15 printf("%u\n", crc32("1234567890123456123456789012345612345678901234561234567890123456")); 16 printf("%u\n", crc32("1234567890123456123456789012345612345678901234561234567890123456abc")); 17 printf("%u\n", crc32("12345678901234561234567890123456123456789012345612345678901234561234567890123… [all …]
|
H A D | printf_basic3.phpt | 2 Test printf() function : basic functionality - float format 23 $result = printf($format); 28 $result = printf($format1, $arg1); 31 $result = printf($format11, $arg1); 36 $result = printf($format2, $arg1, $arg2); 39 $result = printf($format22, $arg1, $arg2); 44 $result = printf($format3, $arg1, $arg2, $arg3); 55 -- Calling printf() with no arguments-- 59 -- Calling printf() with one arguments-- 65 -- Calling printf() with two arguments-- [all …]
|
H A D | printf_basic2.phpt | 2 Test printf() function : basic functionality - integer format 17 echo "\n-- Calling printf() with no arguments --\n"; 18 $result = printf($format); 22 echo "\n-- Calling printf() with one arguments--\n"; 23 $result = printf($format1, $arg1); 28 $result = printf($format2, $arg1, $arg2); 33 $result = printf($format3, $arg1, $arg2, $arg3); 41 -- Calling printf() with no arguments -- 45 -- Calling printf() with one arguments-- 49 -- Calling printf() with two arguments-- [all …]
|
H A D | printf_basic4.phpt | 2 Test printf() function : basic functionality - bool format 17 echo "\n-- Calling printf() with no arguments --\n"; 18 $result = printf($format); 22 echo "\n-- Calling printf() with one arguments--\n"; 23 $result = printf($format1, $arg1); 28 $result = printf($format2, $arg1, $arg2); 33 $result = printf($format3, $arg1, $arg2, $arg3); 40 -- Calling printf() with no arguments -- 44 -- Calling printf() with one arguments-- 48 -- Calling printf() with two arguments-- [all …]
|
H A D | printf_basic5.phpt | 2 Test printf() function : basic functionality - char format 17 echo "\n-- Calling printf() with no arguments --\n"; 18 $result = printf($format); 22 echo "\n-- Calling printf() with one arguments --\n"; 23 $result = printf($format1, $arg1); 28 $result = printf($format2, $arg1, $arg2); 33 $result = printf($format3, $arg1, $arg2, $arg3); 40 -- Calling printf() with no arguments -- 44 -- Calling printf() with one arguments -- 48 -- Calling printf() with two arguments -- [all …]
|
H A D | printf_basic9.phpt | 24 $result = printf($format); 29 $result = printf($format1, $arg1); 32 $result = printf($format11, $arg1); 37 $result = printf($format2, $arg1, $arg2); 40 $result = printf($format22, $arg1, $arg2); 45 $result = printf($format3, $arg1, $arg2, $arg3); 48 $result = printf($format33, $arg1, $arg2, $arg3); 56 -- Calling printf() with no arguments -- 60 -- Calling printf() with one arguments -- 66 -- Calling printf() with two arguments -- [all …]
|
H A D | printf_error.phpt | 2 Test printf() function : error conditions 5 echo "*** Testing printf() : error conditions ***\n"; 10 var_dump( printf() ); 24 var_dump( printf($format1) ); 29 var_dump( printf($format2,$arg1) ); 34 var_dump( printf($format3,$arg1,$arg2) ); 41 var_dump( printf($format2) ); 46 var_dump( printf($format3,$arg1) ); 53 var_dump( printf($format3) ); 60 *** Testing printf() : error conditions *** [all …]
|
H A D | printf_basic8.phpt | 2 Test printf() function : basic functionality - octal format 22 echo "\n-- Calling printf() with no arguments --\n"; 23 $result = printf($format); 27 echo "\n-- Calling printf() with one arguments --\n"; 28 $result = printf($format1, $arg1); 33 $result = printf($format2, $arg1, $arg2); 38 $result = printf($format3, $arg1, $arg2, $arg3); 46 -- Calling printf() with no arguments -- 50 -- Calling printf() with one arguments -- 54 -- Calling printf() with two arguments -- [all …]
|
H A D | printf_basic6.phpt | 16 echo "\n-- Calling printf() with no arguments --\n"; 17 $result = printf($format); 21 echo "\n-- Calling printf() with one argument --\n"; 22 $result = printf($format1, $arg1); 26 echo "\n-- Calling printf() with two arguments --\n"; 27 $result = printf($format2, $arg1, $arg2); 32 $result = printf($format3, $arg1, $arg2, $arg3); 39 -- Calling printf() with no arguments -- 43 -- Calling printf() with one argument -- 47 -- Calling printf() with two arguments -- [all …]
|
H A D | printf_basic7.phpt | 2 Test printf() function : basic functionality - unsigned format 23 echo "\n-- Calling printf() with no arguments --\n"; 24 $result = printf($format); 28 echo "\n-- Calling printf() with one arguments --\n"; 29 $result = printf($format1, $arg1); 34 $result = printf($format2, $arg1, $arg2); 39 $result = printf($format3, $arg1, $arg2, $arg3); 47 -- Calling printf() with no arguments -- 51 -- Calling printf() with one arguments -- 55 -- Calling printf() with two arguments -- [all …]
|
H A D | printf_basic1.phpt | 2 Test printf() function : basic functionality - string format 16 echo "\n-- Calling printf() with no arguments --\n"; 17 $result = printf($format); 21 echo "\n-- Calling printf() with one arguments --\n"; 22 $result = printf($format1, $arg1); 27 $result = printf($format2, $arg1, $arg2); 33 $result = printf($format3, $arg1, $arg2, $arg3); 41 -- Calling printf() with no arguments -- 45 -- Calling printf() with one arguments -- 49 -- Calling printf() with two arguments -- [all …]
|
/PHP-8.1/ |
H A D | .gdbinit | 132 printf ") " 144 printf "\n" 274 printf "\n" 305 printf "}\n" 317 printf " " 368 printf "}\n" 451 printf " " 465 printf " " 522 printf "\"" 534 printf "\"" [all …]
|
/PHP-8.1/ext/filter/tests/ |
H A D | 033_run.inc | 28 printf("%-20s",$filter); 29 printf("%-5s",$result[0]); 30 printf("%-3s",$result[1]); 31 printf("%-15s",$result[2]); 32 printf("%-20s",$result[3]); 33 printf("%-10s",$result[4]); 34 printf("%-5s",$result[5]); 35 printf("%-20s",$result[6]); 36 printf("%-15s",$result[7]); 37 printf("%-10s",$result[8]); [all …]
|
/PHP-8.1/ext/mysqli/tests/ |
H A D | mysqli_class_mysqli_driver_interface.phpt | 10 printf("Parent class:\n"); 13 printf("\nMethods:\n"); 23 printf("Dumping list of missing methods.\n"); 27 printf("Dumping list of unexpected methods.\n"); 31 printf("ok\n"); 34 printf("\nClass variables:\n"); 38 printf("%s\n", $var); 41 printf("\nObject variables:\n"); 44 printf("%s\n", $var); 47 printf("\nMagic, magic properties:\n"); [all …]
|
H A D | mysqli_autocommit_oo.phpt | 32 printf("[003] [%d] %s\n", $mysqli->errno, $mysqli->error); 35 printf("[004] [%d] %s\n", $mysqli->errno, $mysqli->error); 40 printf("[005] Cannot turn off autocommit\n"); 46 printf("[007] [%d] %s\n", $mysqli->errno, $mysqli->error); 50 printf("[008] Cannot turn on autocommit\n"); 53 printf("[009] [%d] %s\n", $mysqli->errno, $mysqli->error); 60 printf("[011] [%d] %s\n", $mysqli->errno, $mysqli->error); 63 printf("[012] [%d] %s\n", $mysqli->errno, $mysqli->error); 66 printf("[013] [%d] %s\n", $mysqli->errno, $mysqli->error); 75 printf("[015] [%d] %s\n", $mysqli->errno, $mysqli->error); [all …]
|
H A D | mysqli_get_warnings.phpt | 20 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 23 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 26 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 37 printf("[005] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 40 printf("[006] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 43 printf("[007] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 50 printf("[009] Borked object, method next is missing\n"); 69 printf("[015] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 72 printf("[016] Expecting 2 warnings, got %d warnings", $tmp); 91 printf("[022] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); [all …]
|
H A D | mysqli_autocommit.phpt | 31 printf("[006] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 34 printf("[007] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 39 printf("[008] Cannot turn off autocommit\n"); 42 printf("[009] Expecting true, got %s/%s\n", gettype($tmp), $tmp); 45 printf("[010] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 49 printf("[011] Cannot turn on autocommit\n"); 52 printf("[012] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 59 printf("[014] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 62 printf("[015] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 84 printf("[021] Cannot turn on autocommit\n"); [all …]
|
H A D | mysqli_stmt_execute_stored_proc.phpt | 22 printf("[009] [%d] %s.\n", mysqli_errno($link), mysqli_error($link)); 48 printf("[017] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 51 printf("[018] Results seem wrong, got %s, [%d] %s\n", 66 printf("[019] [%d] %s.\n", mysqli_errno($link), mysqli_error($link)); 89 printf("[026] Results seem wrong, got %s, [%d] %s\n", 103 printf("[028] [%d] %s.\n", mysqli_errno($link), mysqli_error($link)); 126 printf("[034] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 129 printf("[035] Results seem wrong, got %s, [%d] %s\n", 141 printf("[037] [%d] %s.\n", mysqli_errno($link), mysqli_error($link)); 171 printf("[045] Results seem wrong, got %s, [%d] %s\n", [all …]
|
H A D | mysqli_real_escape_string_unicode.phpt | 16 printf("[004] Expecting фу\\\\бар, got %s\n", $tmp); 19 printf("[005] Expecting бар\"фус, got %s\n", $tmp); 22 printf("[006] Expecting лала'лали, got %s\n", $tmp); 25 printf("[007] Expecting абра\\nкадабра, got %s\n", $tmp); 28 printf("[008] Expecting \\r, got %s\n", $tmp); 31 printf("[009] Expecting %s, got %s\n", "иху\\0аху", $tmp); 40 printf("[011] Expecting 富\\\\酒吧, got %s\n", $tmp); 43 printf("[012] Expecting 酒吧\"小题大做, got %s\n", $tmp); 46 printf("[013] Expecting 拉拉'西雅图, got %s\n", $tmp); 49 printf("[014] Expecting 阿卜拉\\n轻, got %s\n", $tmp); [all …]
|
H A D | mysqli_affected_rows.phpt | 18 printf("[005] Expecting int/0, got %s/%s. [%d] %s\n", 22 printf("[006] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 25 printf("[007] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 28 printf("[008] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 31 printf("[010] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 36 printf("[011] Expecting int/-1, got %s/%s\n", gettype($tmp), $tmp); 42 printf("[013] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 48 printf("[015] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 55 printf("[017] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 61 printf("[019] Expecting int/4, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_affected_rows_oo.phpt | 26 printf("[002] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); 29 printf("[003] [%d] %s\n", $mysqli->errno, $mysqli->error); 32 printf("[004] [%d] %s\n", $mysqli->errno, $mysqli->error); 35 printf("[005] [%d] %s\n", $mysqli->errno, $mysqli->error); 46 printf("[008] [%d] %s\n", $mysqli->errno, $mysqli->error); 52 printf("[010] [%d] %s\n", $mysqli->errno, $mysqli->error); 58 printf("[012] [%d] %s\n", $mysqli->errno, $mysqli->error); 65 printf("[014] [%d] %s\n", $mysqli->errno, $mysqli->error); 71 printf("[015] [%d] %s\n", $mysqli->errno, $mysqli->error); 77 printf("[017] [%d] %s\n", $mysqli->errno, $mysqli->error); [all …]
|
/PHP-8.1/scripts/dev/ |
H A D | search_underscores.php | 71 printf("\n"); 72 printf("Modules: %5d\n", $cnt_modules); 73 printf("Classes: %5d\n", $cnt_classes); 74 printf("Methods: %5d\n", $cnt_methods); 75 printf("\n"); 76 printf("Names: %5d\n", $cnt); 77 printf("Errors: %5d (%.1f%%)\n", $err, round($err * 100 / $cnt, 1)); 78 printf("\n"); 93 printf("\n");
|