Changeset 57 for eaccelerator/trunk/loader.c
- Timestamp:
- 01/06/05 05:12:26 (4 years ago)
- Files:
-
- eaccelerator/trunk/loader.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
eaccelerator/trunk/loader.c
r50 r57 598 598 case EXT_INIT_FCALL: 599 599 case EXT_FETCH: 600 case EXT_FE:601 600 case EXT_CAST: 602 601 case EXT_DECLARE: … … 607 606 opline->extended_value = decode(p, l); 608 607 break; 608 case EXT_FE: /* EXT_FE is added at MMC_ENCODER_VERSION = 3 to support php 4.3.10 */ 609 #if MMC_ENCODER_VERSION >= 3 610 if (((loader_data*)MMCG(mem))->version >= 3) { 611 opline->extended_value = decode(p, l); 612 } 613 #endif 614 break; 609 615 case EXT_OPLINE: 610 616 opline->extended_value = decode_opline(to->last, p, l); … … 617 623 break; 618 624 } 625 626 #if MMC_ENCODER_VERSION >= 3 && defined(ZEND_FE_FETCH_WITH_KEY) && !defined(ZEND_ENGINE_2) 627 /* correct ZEND_FE_FETCH's extended value with old version (1,2) */ 628 if (opline->opcode == ZEND_FE_FETCH) { 629 if (((loader_data*)MMCG(mem))->version < 3) { 630 opline->extended_value |= ZEND_FE_FETCH_WITH_KEY; 631 } 632 } 633 #endif 619 634 switch (ops & RES_MASK) { 620 635 case RES_UNUSED: