Browse Source

- Fix a crash (not a thorough fix).

- Commented old code
experimental/ZendEngine2
Andi Gutmans 25 years ago
parent
commit
ee44180fc6
  1. 2
      Zend/zend.c
  2. 2
      Zend/zend_execute.c

2
Zend/zend.c

@ -494,7 +494,7 @@ void zend_shutdown(TSRMLS_D)
zend_hash_destroy(&module_registry);
zend_hash_destroy(GLOBAL_FUNCTION_TABLE);
zend_hash_destroy(GLOBAL_CLASS_TABLE);
/* zend_hash_destroy(GLOBAL_CLASS_TABLE); FIXME */
zend_hash_destroy(GLOBAL_AUTO_GLOBALS_TABLE);
free(GLOBAL_AUTO_GLOBALS_TABLE);

2
Zend/zend_execute.c

@ -1851,11 +1851,13 @@ do_fcall_common:
NEXT_OPCODE();
case ZEND_NAMESPACE:
{
#if 0
if (EX(opline)->op1.op_type == IS_UNUSED) {
EG(namespace) = NULL;
} else {
EG(namespace) = EX(Ts)[EX(opline)->op1.u.var].EA.class_entry;
}
#endif
NEXT_OPCODE();
}
case ZEND_SEND_VAL:

Loading…
Cancel
Save