Show
Ignore:
Timestamp:
04/26/05 17:04:34 (4 years ago)
Author:
zoeloelip
Message:

Fixed the endless loop bug 1178588 and 1153030 and patch 1189852 reset non array loop
The optimisation for that caused this is removed for zend engine 2 and 1 because
php >= 4.3.11 is also affected, so this will be useless in some time.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • eaccelerator/trunk/optimize.c

    r39 r65  
    23362336       SET_TO_NOP(prev); 
    23372337    /* SEND_REF $x + FCALL "reset" => FE_RESET $x */ 
    2338     } else if (prev != NULL && 
     2338    } 
     2339#if 0 
     2340// this makes php 5 and php >= 4.3.11 go in an endless loop with reset(null) 
     2341else if (prev != NULL && 
    23392342               prev->opcode == ZEND_SEND_REF && 
    23402343               prev->extended_value == ZEND_DO_FCALL && 
     
    23672370      } 
    23682371    } 
     2372#endif 
    23692373 
    23702374    /* $a = $a + ? => $a+= ? */