From 52bd62eca819e43e0fc6788c0ec4670ca4c8cddf Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Fri, 21 Feb 2014 20:35:40 +0400 Subject: Fixed assertions --- Zend/zend_execute_API.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Zend/zend_execute_API.c') diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c index e0dede14f5..dd27e65656 100644 --- a/Zend/zend_execute_API.c +++ b/Zend/zend_execute_API.c @@ -1582,8 +1582,10 @@ typedef struct _zend_abstract_info { int ctor; } zend_abstract_info; -static int zend_verify_abstract_class_function(zend_function *fn, zend_abstract_info *ai TSRMLS_DC) /* {{{ */ +static int zend_verify_abstract_class_function(zval *zv, zend_abstract_info *ai TSRMLS_DC) /* {{{ */ { + zend_function *fn = Z_PTR_P(zv); + if (fn->common.fn_flags & ZEND_ACC_ABSTRACT) { if (ai->cnt < MAX_ABSTRACT_INFO_CNT) { ai->afn[ai->cnt] = fn; -- cgit v1.2.1