mirror of
https://github.com/php/php-src.git
synced 2026-04-23 16:08:35 +02:00
2 arguments, not 3
This commit is contained in:
+2
-2
@@ -388,8 +388,8 @@ PHP_FUNCTION(cyrus_bind)
|
||||
char *string_key;
|
||||
ulong num_key;
|
||||
|
||||
if (ZEND_NUM_ARGS() != 3 ||
|
||||
zend_get_parameters_ex(3, &z_conn, &z_callback) == FAILURE) {
|
||||
if (ZEND_NUM_ARGS() != 2 ||
|
||||
zend_get_parameters_ex(2, &z_conn, &z_callback) == FAILURE) {
|
||||
WRONG_PARAM_COUNT;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user