Changeset d1ecd8f in git


Ignore:
Timestamp:
2006-10-07T10:57:44Z (13 years ago)
Author:
Xuefer <xuefer@…>
Branches:
1.2, 1.3, 3.0, 3.1, 3.2, master, trunk
Children:
e12208a
Parents:
271c257
Message:

cacher: php4 fix for #36

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@226 c26eb9a1-5813-0410-bd6c-c2e55f420ca7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • utils.c

    r643ed26 rd1ecd8f  
    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.