Changeset 1196 in svn for trunk/processor/processor.m4


Ignore:
Timestamp:
2012-12-12T10:05:12+01:00 (3 years ago)
Author:
Xuefer
Message:

fixes #295: crash using traits with PHP 5.4.8+

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/processor/processor.m4

    r1051 r1196  
    720720        memcpy(dst, src, sizeof(src[0]));
    721721        dst->refcount[0] = 1000;
     722#ifdef ZEND_ACC_ALIAS
     723        if ((processor->active_class_entry_src && (processor->active_class_entry_src->ce_flags & ZEND_ACC_TRAIT))) {
     724            PROC_ZSTRING(, function_name)
     725        }
     726#endif
    722727        /* deep */
    723728        STRUCT_P(HashTable, static_variables, HashTable_zval_ptr)
Note: See TracChangeset for help on using the changeset viewer.