Skip to content

Commit 2760e2e

Browse files
committed
Fix the translation of zpp("f!") to Z_PARAM_FUNC_EX(fci, fcc, 1, 0)
1 parent e236c03 commit 2760e2e

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
@@ -1176,8 +1176,8 @@ static PHP_METHOD(Memcached, __construct)
11761176

11771177
ZEND_PARSE_PARAMETERS_START(0, 3)
11781178
Z_PARAM_OPTIONAL
1179-
Z_PARAM_STR_EX(persistent_id, 0, 1)
1180-
Z_PARAM_FUNC_EX(fci, fci_cache, 0, 1)
1179+
Z_PARAM_STR_EX(persistent_id, 1, 0)
1180+
Z_PARAM_FUNC_EX(fci, fci_cache, 1, 0)
11811181
Z_PARAM_STR(conn_str)
11821182
ZEND_PARSE_PARAMETERS_END();
11831183

@@ -1410,14 +1410,14 @@ void php_memc_get_impl(INTERNAL_FUNCTION_PARAMETERS, zend_bool by_key)
14101410
Z_PARAM_STR(server_key)
14111411
Z_PARAM_STR(key)
14121412
Z_PARAM_OPTIONAL
1413-
Z_PARAM_FUNC_EX(fci, fcc, 0, 1)
1413+
Z_PARAM_FUNC_EX(fci, fcc, 1, 0)
14141414
Z_PARAM_LONG(get_flags)
14151415
ZEND_PARSE_PARAMETERS_END();
14161416
} else {
14171417
ZEND_PARSE_PARAMETERS_START(1, 4)
14181418
Z_PARAM_STR(key)
14191419
Z_PARAM_OPTIONAL
1420-
Z_PARAM_FUNC_EX(fci, fcc, 0, 1)
1420+
Z_PARAM_FUNC_EX(fci, fcc, 1, 0)
14211421
Z_PARAM_LONG(get_flags)
14221422
ZEND_PARSE_PARAMETERS_END();
14231423
}
@@ -1651,14 +1651,14 @@ static void php_memc_getDelayed_impl(INTERNAL_FUNCTION_PARAMETERS, zend_bool by_
16511651
Z_PARAM_ARRAY(keys)
16521652
Z_PARAM_OPTIONAL
16531653
Z_PARAM_BOOL(with_cas)
1654-
Z_PARAM_FUNC_EX(fci, fcc, 0, 1)
1654+
Z_PARAM_FUNC_EX(fci, fcc, 1, 0)
16551655
ZEND_PARSE_PARAMETERS_END();
16561656
} else {
16571657
ZEND_PARSE_PARAMETERS_START(1, 3)
16581658
Z_PARAM_ARRAY(keys)
16591659
Z_PARAM_OPTIONAL
16601660
Z_PARAM_BOOL(with_cas)
1661-
Z_PARAM_FUNC_EX(fci, fcc, 0, 1)
1661+
Z_PARAM_FUNC_EX(fci, fcc, 1, 0)
16621662
ZEND_PARSE_PARAMETERS_END();
16631663
}
16641664

0 commit comments

Comments
 (0)