From e88e83d3e5c33fcd76f08b23e1a2e4e8dc98ce41 Mon Sep 17 00:00:00 2001 From: Sara Golemon Date: Tue, 23 Jan 2018 09:10:36 -0500 Subject: [PATCH] Use Z_EXPECTED_LONG to initialize FAST_ZPP parsing loop --- Zend/zend_API.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zend/zend_API.h b/Zend/zend_API.h index cbf8ffe77f..9f2e2c6bdf 100644 --- a/Zend/zend_API.h +++ b/Zend/zend_API.h @@ -709,7 +709,7 @@ ZEND_API ZEND_COLD void ZEND_FASTCALL zend_wrong_callback_error(int severity, in int _num_args = EX_NUM_ARGS(); \ int _i; \ zval *_real_arg, *_arg = NULL; \ - zend_expected_type _expected_type = IS_UNDEF; \ + zend_expected_type _expected_type = Z_EXPECTED_LONG; \ char *_error = NULL; \ zend_bool _dummy; \ zend_bool _optional = 0; \ -- 2.40.0