Changeset 226 in svn


Ignore:
Timestamp:
2006-10-07T12:57:44+02:00 (9 years ago)
Author:
Xuefer
Message:

cacher: php4 fix for #36

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/utils.c

    r214 r226  
    305305                break;
    306306
     307#ifdef ZEND_ENGINE_2
    307308            case ZEND_DECLARE_INHERITED_CLASS:
    308309                callback(opline, opline - begin, data TSRMLS_CC);
    309310                break;
     311#else
     312            case ZEND_DECLARE_FUNCTION_OR_CLASS:
     313                if (opline->extended_value == ZEND_DECLARE_INHERITED_CLASS) {
     314                    callback(opline, opline - begin, data TSRMLS_CC);
     315                }
     316                break;
     317#endif
    310318        }
    311319
     
    332340
    333341    switch (opline->opcode) {
     342#ifdef ZEND_ENGINE_2
    334343    case ZEND_DECLARE_INHERITED_CLASS:
    335 #ifdef ZEND_ENGINE_2
    336344        {
    337345            zval *parent_name;
     
    386394        }
    387395#else
     396    case ZEND_DECLARE_FUNCTION_OR_CLASS:
    388397        if (do_bind_function_or_class(opline, NULL, class_table, 1) == FAILURE) {
    389398            return FAILURE;
Note: See TracChangeset for help on using the changeset viewer.