com php-src: Fix usage of zend_wrong_param_count in e xt/mysqli: ext/mysqli/mysqli_api.c

From: Date: Tue, 10 Feb 2015 15:48:07 +0000
Subject: com php-src: Fix usage of zend_wrong_param_count in e xt/mysqli: ext/mysqli/mysqli_api.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-85722@lists.php.net to get a copy of this message
Commit: 2985944a8af96ec5b81c7d7b9288d06a829e6435 Author: Andrea Faulds <ajf@ajf.me> Sun, 25 Jan 2015 02:21:34 +0000 Parents: b112c13a41674e9c307f42c6054e3036ca3e6960 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=2985944a8af96ec5b81c7d7b9288d06a829e6435 Log: Fix usage of zend_wrong_param_count in ext/mysqli Changed paths: M ext/mysqli/mysqli_api.c Diff: diff --git a/ext/mysqli/mysqli_api.c b/ext/mysqli/mysqli_api.c index 9f6d822..27d3560 100644 --- a/ext/mysqli/mysqli_api.c +++ b/ext/mysqli/mysqli_api.c @@ -368,7 +368,7 @@ PHP_FUNCTION(mysqli_stmt_bind_param) args = safe_emalloc(argc, sizeof(zval), 0); if (zend_get_parameters_array_ex(argc, args) == FAILURE) { - zend_wrong_param_count(); + ZEND_WRONG_PARAM_COUNT(); rc = 1; } else { rc = mysqli_stmt_bind_param_do_bind(stmt, argc, num_vars, args, start, types);

« previous php.cvs (#85722) next »