Browse Source

- Cleanup old IMPORT stuff

PHP-4.0.5
Andi Gutmans 26 years ago
parent
commit
9cc704421a
  1. 3
      Zend/zend_compile.h
  2. 1
      Zend/zend_execute.c

3
Zend/zend_compile.h

@ -549,8 +549,9 @@ int zendlex(znode *zendlval CLS_DC);
#define ZEND_EVAL (1<<0)
#define ZEND_INCLUDE (1<<1)
#define ZEND_IMPORT (1<<2)
#define ZEND_INCLUDE_ONCE (1<<2)
#define ZEND_REQUIRE (1<<3)
#define ZEND_REQUIRE_ONCE (1<<4)
#define ZEND_ISSET (1<<0)
#define ZEND_ISEMPTY (1<<1)

1
Zend/zend_execute.c

@ -2056,7 +2056,6 @@ send_by_ref:
switch (opline->op2.u.constant.value.lval) {
case ZEND_INCLUDE:
case ZEND_IMPORT:
case ZEND_REQUIRE:
new_op_array = compile_filename(opline->op2.u.constant.value.lval, get_zval_ptr(&opline->op1, Ts, &EG(free_op1), BP_VAR_R) CLS_CC ELS_CC);
break;

Loading…
Cancel
Save