/PHP-8.1/ext/standard/tests/serialize/ |
H A D | bug75054.phpt | 5 $poc = 'a:9:{i:0;s:4:"0000";i:0;s:4:"0000";i:0;R:2;s:4:"5003";R:2;s:4:"0000";R:2;s:4:"0000";R:2;s:4… 7 $poc .= '000";R:2;s:4:"0000";d:0;s:4:"0000";a:9:{s:4:"0000";'; 11 Notice: unserialize(): Error at offset 43 of 145 bytes in %s on line %d
|
/PHP-8.1/ext/mysqli/tests/ |
H A D | mysqli_pconn_limits.phpt | 21 printf("[001] Cannot run query, [%d] %s\n", 26 printf("Regular connection 1 - '%s'\n", $row['_desc']); 33 printf("[003] Cannot run query, [%d] %s\n", 38 printf("Regular connection 2 - '%s'\n", $row['_desc']); 42 …not create persistent connection using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s… 47 printf("[005] Cannot run query, [%d] %s\n", 52 printf("Persistent connection 1 - '%s'\n", $row['_desc']); 55 …not create persistent connection using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s… 60 printf("[007] Cannot run query, [%d] %s\n", 69 …not create persistent connection using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s… [all …]
|
H A D | mysqli_stmt_affected_rows.phpt | 14 …printf("Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socke… 30 printf("[005] Expecting int/0, got %s/'%s'\n", gettype($tmp), $tmp); 47 printf("[008] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 59 printf("[010] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); 69 printf("[012] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 79 printf("[014] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 89 printf("[016] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 115 printf("[021] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 125 printf("[023] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 135 printf("[025] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_connect_twice.phpt | 14 …f("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 21 printf("[003] Expecting boolean/true got %s/%s\n", gettype($tmp), $tmp); 24 printf("[004] Expecting int/any got %s/%s\n", gettype($tmp), $tmp); 31 printf("[006] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 39 …f("[007] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 46 printf("[009] Expecting boolean/true got %s/%s\n", gettype($tmp), $tmp); 49 printf("[010] Expecting int/any got %s/%s\n", gettype($tmp), $tmp); 56 printf("[012] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 64 printf("[013] Expecting true got %s/%s\n", gettype($tmp), $tmp); 67 …f("[014] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… [all …]
|
H A D | mysqli_connect_errno.phpt | 24 …f("[002] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 28 printf("[003] Expecting integer/0, got %s/%s\n", gettype($tmp), $tmp); 34 …er should fail using host=%s, user=%s, passwd=***non_empty, dbname=%s, port=%s, socket=%s, expecti… 38 printf("[005] Expecting integer/any non-zero, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_stmt_bind_param_references.phpt | 18 printf("[%03d + 1] %s failed, [%d] %s\n", 23 printf("[%03d + 2] fetch for %s failed, [%d] %s\n", 30 printf("[%03d + 3] Expecting %s/%s got %s/%s\n", 38 printf("[%03d + 4] Expecting %s/%s got %s/%s\n", 48 printf("[%03d + 5] %s failed, [%d] %s\n", 65 printf("[002] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 76 printf("[005] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 87 printf("[007] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 98 printf("[010] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 106 printf("[013] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_change_user_oo.phpt | 25 …f("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 29 printf("[006] Expecting false, got %s/%s\n", gettype($tmp), $tmp); 32 printf("[007] Expecting false, got %s/%s\n", gettype($tmp), $tmp); 35 printf("[008] Expecting false, got %s/%s\n", gettype($tmp), $tmp); 39 …f("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 46 printf("[010] [%d] %s\n", $mysqli->errno, $mysqli->error); 53 printf("[012] Expecting true, got %s/%s\n", gettype($tmp), $tmp); 56 printf("[013] [%d] %s\n", $mysqli->errno, $mysqli->error); 61 printf("[014] Expecting user %s, got user() %s\n", $user, $tmp['user']); 63 printf("[015] Expecting database %s, got database() %s\n", $db, $tmp['dbname']); [all …]
|
H A D | mysqli_debug_control_string.phpt | 29 printf("[%03d][control string '%s'] Expecting boolean/true, got %s/%s.\n", 38 printf("[%03d][control string '%s'] [%d] %s.\n", 59 …$trace_file = sprintf('%s%s%s', sys_get_temp_dir(), DIRECTORY_SEPARATOR, 'mysqli_debug_phpt.trace'… 76 Warning: mysqli_debug(): Unrecognized format ',' in %s on line %d 79 [023][control string '%s'] Trace file has not been written. 81 Warning: mysqli_debug(): Colon expected, 'b' found in %s on line %d 97 Warning: mysqli_debug(): Unrecognized format 'b' in %s on line %d 111 Warning: mysqli_debug(): Unrecognized format 'b' in %s on line %d 129 Warning: mysqli_debug(): Unrecognized format 'b' in %s on line %d 133 Warning: mysqli_debug(): Unrecognized format 'z' in %s on line %d [all …]
|
H A D | mysqli_report_wo_ps.phpt | 10 …tf("SKIP Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 27 printf("[003] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 30 printf("[004] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 33 printf("[005] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 36 printf("[007] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 39 printf("[008] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 85 …"[010] Can connect to the server using host=%s, user=%s, passwd=***non_empty, dbname=%s, port=%s, … 98 …"[013] Can connect to the server using host=%s, user=%s, passwd=***non_empty, dbname=%s, port=%s, … 116 Warning: mysqli_change_user(): (%d/%d): Access denied for user '%s'@'%s' (using password: %s) in %s… 121 [011] Access denied for user '%s'@'%s' (using password: YES) [all …]
|
H A D | mysqli_stmt_get_result.phpt | 47 printf("[009] non-object, got %s/%s\n", gettype($tmp), var_export($tmp, 1)); 72 printf("[016] NULL, got %s/%s\n", gettype($tmp), var_export($tmp, 1)); 91 printf("[020] Expecting false, got %s/%s\n", gettype($tmp), var_export($tmp, 1)); 97 printf("[024] Expecting object, got %s/%s\n", gettype($tmp), var_export($tmp, 1)); 100 printf("[025] false, got %s/%s\n", gettype($tmp), var_export($tmp, 1)); 109 printf("[029] false, got %s/%s\n", gettype($tmp), var_export($tmp, 1)); 146 printf("[038] Expecting array, got %s/%s, [%d] %s\n", 151 printf("[039] Expecting boolean/false, got %s/%s, [%d] %s\n", 165 printf("[043] Expecting false, got %s/%s\n", gettype($tmp), var_export($tmp, 1)); 205 %s(1) "a" [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); 63 printf("[013] Expecting int/not 0, got %s/%s\n", gettype($warning->errno), $warning->errno); 66 printf("[014] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 79 printf("[018] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 82 printf("[020] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 97 printf("[024] Expecting object/mysqli_warning, got %s/%s", gettype($warning), $warning); 111 printf("[028] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 114 printf("[029] Expecting string/empty, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_stmt_execute.phpt | 22 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 45 printf("[008] Expecting boolean/true, got %s/%s. [%d] %s\n", 53 printf("[010] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 76 printf("[016] Expecting boolean/true, got %s/%s. [%d] %s\n", 84 printf("[018] Expecting int/1 got %s/%s\n", gettype($id), $id); 87 printf("[019] Expecting boolean/true, got %s/%s. [%d] %s\n", 91 printf("[020] Expecting boolean/true after reset to prepare status, got %s/%s. [%d] %s\n", 99 printf("[022] Expecting int/1 got %s/%s\n", gettype($id), $id); 109 printf("[025] Expecting boolean/true, got %s/%s. [%d] %s\n", 113 printf("[026] Expecting boolean/true, got %s/%s. [%d] %s\n", [all …]
|
H A D | mysqli_stmt_result_metadata.phpt | 16 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 28 printf("[006] Expecting object, got %s/%s\n", gettype($tmp), $tmp); 31 printf("[007] Expecting int/2, got %s/%s, [%d] %s\n", 35 printf("[008] Expecting object, got %s/%s, [%d] %s\n", 39 printf("[009] Expecting object, got %s/%s, [%d] %s\n", 51 printf("[011] Expecting array, got %s/%s, [%d] %s\n", 60 printf("[013] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 63 printf("[014] Expecting object, got %s/%s, [%d] %s\n", 73 printf("[016] Expecting int/1, got %s/%s, [%d] %s\n", 106 string(%d) "%s" [all …]
|
H A D | mysqli_pconn_twice.phpt | 20 …f("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 24 printf("[003] Expecting boolean/true got %s/%s\n", gettype($tmp), $tmp); 30 printf("[006] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 38 …f("[007] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 43 printf("[009] Expecting boolean/true got %s/%s\n", gettype($tmp), $tmp); 49 printf("[012] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 57 printf("[013] Expecting true got %s/%s\n", gettype($tmp), $tmp); 60 …f("[014] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 64 printf("[015] Expecting true got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_stmt_bind_param.phpt | 37 printf("[003d] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 44 printf("[003a] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 53 printf("[003b] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 61 printf("[003d] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 67 printf("[003c] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 74 printf("[004] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 81 printf("[005] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 126 printf("[012] Expecting '%s'/%s', got '%s'/%s'!\n", $id, $label, $row['id'], $row['label']); 175 printf("[%03d] Testing '%s', '%s': expecting '%s'/'%s' (%s), got '%s'/'%s'\n", 182 printf("[%03d] Testing '%s', '%s': expecting '%s'/'%s', got '%s'/'%s'\n", [all …]
|
/PHP-8.1/ext/tidy/tests/ |
H A D | 019.phpt | 9 $s = ""; 11 tidy_repair_string($s, $l, $l); 12 tidy_repair_string($s, $s, $s); 16 tidy_repair_file($s, $l, $l, $l); 21 tidy_repair_file($s, $s, $s, $s); 31 Warning: tidy_repair_string(): Could not load the Tidy configuration file "1" in %s on line %d 33 Warning: tidy_repair_string(): Could not set encoding "1" in %s on line %d 35 Warning: tidy_repair_string(): Could not load the Tidy configuration file "" in %s on line %d 37 Warning: tidy_repair_string(): Could not load the Tidy configuration file "1" in %s on line %d 39 Warning: tidy_repair_string(): Could not set encoding "1" in %s on line %d
|
/PHP-8.1/ext/spl/tests/ |
H A D | SplFileObject_next_variation002.phpt | 13 $s = new SplFileObject(__FILE__); 14 $s->seek(2); 15 echo $s->current(); 16 $s->next(); 17 echo $s->current(); 19 $s->setFlags(SplFileObject::READ_AHEAD); 21 $s->seek(2); 22 echo $s->current(); 23 $s->next(); 24 echo $s->current();
|
/PHP-8.1/tests/security/ |
H A D | open_basedir_fopen.phpt | 41 …basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on line %d 43 Warning: fopen(../bad): Failed to open stream: %s in %s on line %d 48 Warning: fopen(../bad/bad.txt): Failed to open stream: %s in %s on line %d 51 …pen_basedir restriction in effect. File(..) is not within the allowed path(s): (.) in %s on line %d 53 Warning: fopen(..): Failed to open stream: %s in %s on line %d 58 Warning: fopen(../): Failed to open stream: %s in %s on line %d 61 …open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) in %s on line %d 63 Warning: fopen(/): Failed to open stream: %s in %s on line %d 68 Warning: fopen(../bad/.): Failed to open stream: %s in %s on line %d 73 Warning: fopen(../bad/./bad.txt): Failed to open stream: %s in %s on line 12 [all …]
|
H A D | open_basedir_link.phpt | 49 …: open_basedir restriction in effect. File(%s/test/bad/link.txt) is not within the allowed path(s)… 52 …(): open_basedir restriction in effect. File(%s/test/link.txt) is not within the allowed path(s): … 55 …: open_basedir restriction in effect. File(%s/test/bad/link.txt) is not within the allowed path(s)… 58 …(): open_basedir restriction in effect. File(%s/test/link.txt) is not within the allowed path(s): … 61 …: open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s):… 64 …nk(): open_basedir restriction in effect. File(%s/test/bad) is not within the allowed path(s): (.)… 67 …: open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s):… 70 …: open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s):… 73 …nk(): open_basedir restriction in effect. File(%s/test/bad) is not within the allowed path(s): (.)…
|
/PHP-8.1/ext/oci8/tests/ |
H A D | bind_number.phpt | 32 oci_execute($s); 33 oci_fetch_all($s, $r); 44 oci_execute($s); 53 oci_execute($s); 62 oci_execute($s); 71 oci_execute($s); 80 oci_execute($s); 89 oci_execute($s); 98 oci_execute($s); 107 oci_execute($s); [all …]
|
H A D | lob_null.phpt | 20 @oci_execute($s); 23 oci_execute($s); 25 $s = oci_parse($c, 30 oci_execute($s); 32 $s = oci_parse($c, 37 oci_execute($s); 46 $r = @oci_execute($s); 60 $r = @oci_execute($s); 152 oci_execute($s); 158 oci_execute($s); [all …]
|
H A D | bind_char_1.phpt | 43 do_e_q($s); 48 do_e_q($s); 53 do_e_q($s); 58 do_e_q($s); 63 do_e_q($s); 68 do_e_q($s); 78 do_e_q($s); 83 do_e_q($s); 88 do_e_q($s); 93 do_e_q($s); [all …]
|
H A D | bind_char_1_11gR1.phpt | 45 do_e_q($s); 50 do_e_q($s); 55 do_e_q($s); 60 do_e_q($s); 65 do_e_q($s); 70 do_e_q($s); 80 do_e_q($s); 85 do_e_q($s); 90 do_e_q($s); 95 do_e_q($s); [all …]
|
/PHP-8.1/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_stmt_bindcolumn.phpt | 27 printf("[003] Cannot bind integer column, %s %s\n", 31 printf("[004] Cannot bind string column, %s %s\n", 36 printf("id = %s (%s) / label = %s (%s)\n", 46 … printf("[005] Fetch bound and fetch assoc differ - column 'id', bound: %s/%s, assoc: %s/%s\n", 51 … printf("[006] Fetch bound and fetch assoc differ - column 'label', bound: %s/%s, assoc: %s/%s\n", 67 printf("[008] Cannot bind integer column, %s %s\n", 71 printf("[009] Cannot bind string column, %s %s\n", 76 printf("id = %s (%s) / label = %s (%s)\n", 86 … printf("[010] Fetch bound and fetch assoc differ - column 'id', bound: %s/%s, assoc: %s/%s\n", 91 … printf("[011] Fetch bound and fetch assoc differ - column 'label', bound: %s/%s, assoc: %s/%s\n", [all …]
|
/PHP-8.1/ext/hash/ |
H A D | hash_xxhash.c | 43 memset(&ctx->s, 0, sizeof ctx->s); in PHP_XXH32Init() 52 XXH32_reset(&ctx->s, 0); in PHP_XXH32Init() 55 XXH32_reset(&ctx->s, 0); in PHP_XXH32Init() 71 copy_context->s = orig_context->s; in PHP_XXH32Copy() 82 && ctx->s.memsize < 16) { in php_hash_xxh32_unserialize() 107 memset(&ctx->s, 0, sizeof ctx->s); in PHP_XXH64Init() 119 XXH64_reset(&ctx->s, 0); in PHP_XXH64Init() 135 copy_context->s = orig_context->s; in PHP_XXH64Copy() 160 memset(&ctx->s, 0, sizeof ctx->s); in _PHP_XXH3_Init() 215 copy_context->s = orig_context->s; in PHP_XXH3_64_Copy() [all …]
|