1
0
mirror of https://github.com/php/php-src.git synced 2026-03-26 09:12:14 +01:00

fix build

This commit is contained in:
Sascha Schumann
2001-03-20 12:50:27 +00:00
parent d4a3b4895e
commit a2ff136c8e

View File

@@ -214,6 +214,7 @@ PHP_FUNCTION(yp_next) {
static int php_foreach_all (int instatus, char *inkey, int inkeylen, char *inval, int invallen, char *indata)
{
int r;
CLS_FETCH();
zval *status, *key, *value;
zval **args [3] = { &status, &key, &value };
@@ -228,8 +229,6 @@ static int php_foreach_all (int instatus, char *inkey, int inkeylen, char *inval
MAKE_STD_ZVAL (value);
ZVAL_STRINGL (value, inval, invallen, 1);
CLS_FETCH();
if(call_user_function_ex(CG(function_table), NULL, *((zval **)indata), &retval, 3, args, 0, NULL) != SUCCESS)
{
zend_error(E_ERROR, "Function call failed");