You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
php_error_docref(NULL, E_DEPRECATED, "Passing a seed of a type other than string is deprecated because it implicitly converts to a string, potentially hiding bugs");
Copy file name to clipboardExpand all lines: ext/hash/tests/xxhash_secret.phpt
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -46,12 +46,16 @@ foreach (["xxh3", "xxh128"] as $a) {
46
46
}
47
47
48
48
?>
49
-
--EXPECT--
49
+
--EXPECTF--
50
50
string(67) "xxh3: Only one of seed or secret is to be passed for initialization"
51
+
52
+
Deprecated: hash_init(): Passing a seed of a type other than string is deprecated because it implicitly converts to a string, potentially hiding bugs in %s on line %d
51
53
string(23) "exception in __toString"
52
54
string(57) "xxh3: Secret length must be >= 136 bytes, 17 bytes passed"
53
55
8028aa834c03557a == 8028aa834c03557a == true
54
56
string(69) "xxh128: Only one of seed or secret is to be passed for initialization"
57
+
58
+
Deprecated: hash_init(): Passing a seed of a type other than string is deprecated because it implicitly converts to a string, potentially hiding bugs in %s on line %d
55
59
string(23) "exception in __toString"
56
60
string(59) "xxh128: Secret length must be >= 136 bytes, 17 bytes passed"
Deprecated: hash_init(): Passing a seed of a type other than int is deprecated because it is the same as setting the seed to 0 in %s on line %d
19
+
20
+
Deprecated: hash_init(): Passing a seed of a type other than int is deprecated because it is the same as setting the seed to 0 in %s on line %d
21
+
22
+
Deprecated: hash_init(): Passing a seed of a type other than int is deprecated because it is ignored in %s on line %d
23
+
24
+
Deprecated: hash_init(): Passing a seed of a type other than int is deprecated because it is ignored in %s on line %d
25
+
26
+
Deprecated: hash_init(): Passing a seed of a type other than string is deprecated because it implicitly converts to a string, potentially hiding bugs in %s on line %d
0 commit comments