Skip to content

Commit 3037eba

Browse files
committed
Fix the translation of zpp("f!") to Z_PARAM_FUNC_EX(fci, fcc, 1, 0)
1 parent 732662f commit 3037eba

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

php_memcached.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1192,8 +1192,8 @@ static PHP_METHOD(Memcached, __construct)
11921192

11931193
ZEND_PARSE_PARAMETERS_START(0, 3)
11941194
Z_PARAM_OPTIONAL
1195-
Z_PARAM_STR_EX(persistent_id, 0, 1)
1196-
Z_PARAM_FUNC_EX(fci, fci_cache, 0, 1)
1195+
Z_PARAM_STR_EX(persistent_id, 1, 0)
1196+
Z_PARAM_FUNC_EX(fci, fci_cache, 1, 0)
11971197
Z_PARAM_STR(conn_str)
11981198
ZEND_PARSE_PARAMETERS_END();
11991199

@@ -1426,14 +1426,14 @@ void php_memc_get_impl(INTERNAL_FUNCTION_PARAMETERS, zend_bool by_key)
14261426
Z_PARAM_STR(server_key)
14271427
Z_PARAM_STR(key)
14281428
Z_PARAM_OPTIONAL
1429-
Z_PARAM_FUNC_EX(fci, fcc, 0, 1)
1429+
Z_PARAM_FUNC_EX(fci, fcc, 1, 0)
14301430
Z_PARAM_LONG(get_flags)
14311431
ZEND_PARSE_PARAMETERS_END();
14321432
} else {
14331433
ZEND_PARSE_PARAMETERS_START(1, 4)
14341434
Z_PARAM_STR(key)
14351435
Z_PARAM_OPTIONAL
1436-
Z_PARAM_FUNC_EX(fci, fcc, 0, 1)
1436+
Z_PARAM_FUNC_EX(fci, fcc, 1, 0)
14371437
Z_PARAM_LONG(get_flags)
14381438
ZEND_PARSE_PARAMETERS_END();
14391439
}
@@ -1667,14 +1667,14 @@ static void php_memc_getDelayed_impl(INTERNAL_FUNCTION_PARAMETERS, zend_bool by_
16671667
Z_PARAM_ARRAY(keys)
16681668
Z_PARAM_OPTIONAL
16691669
Z_PARAM_BOOL(with_cas)
1670-
Z_PARAM_FUNC_EX(fci, fcc, 0, 1)
1670+
Z_PARAM_FUNC_EX(fci, fcc, 1, 0)
16711671
ZEND_PARSE_PARAMETERS_END();
16721672
} else {
16731673
ZEND_PARSE_PARAMETERS_START(1, 3)
16741674
Z_PARAM_ARRAY(keys)
16751675
Z_PARAM_OPTIONAL
16761676
Z_PARAM_BOOL(with_cas)
1677-
Z_PARAM_FUNC_EX(fci, fcc, 0, 1)
1677+
Z_PARAM_FUNC_EX(fci, fcc, 1, 0)
16781678
ZEND_PARSE_PARAMETERS_END();
16791679
}
16801680

0 commit comments

Comments
 (0)