diff options
| author | Dmitry Stogov <dmitry@zend.com> | 2014-02-21 20:35:40 +0400 |
|---|---|---|
| committer | Dmitry Stogov <dmitry@zend.com> | 2014-02-21 20:35:40 +0400 |
| commit | 52bd62eca819e43e0fc6788c0ec4670ca4c8cddf (patch) | |
| tree | 661dd454a4b530440188376ee999750adc51fd10 /Zend/zend_execute_API.c | |
| parent | 2520f0801d05dad6691b72284c08a38408dfccf7 (diff) | |
| download | php-git-52bd62eca819e43e0fc6788c0ec4670ca4c8cddf.tar.gz | |
Fixed assertions
Diffstat (limited to 'Zend/zend_execute_API.c')
| -rw-r--r-- | Zend/zend_execute_API.c | 4 |
1 files changed, 3 insertions, 1 deletions
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; |
