Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitca80ee0

Browse files
Fix passing NULL for hash expiry argument
The stubs specify `?string $mode = NULL` but we were using `Z_PARAM_STR`causing an arginfo mismatch.Fixes#2674
1 parent340f23b commitca80ee0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎redis_commands.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4999,7 +4999,7 @@ int redis_hexpire_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock,
49994999
Z_PARAM_LONG(ttl)
50005000
Z_PARAM_ARRAY_HT(fields)
50015001
Z_PARAM_OPTIONAL
5002-
Z_PARAM_STR(option)
5002+
Z_PARAM_STR_OR_NULL(option)
50035003
ZEND_PARSE_PARAMETERS_END_EX(returnFAILURE);
50045004

50055005
if (zend_hash_num_elements(fields)<1) {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp