1
0
mirror of https://github.com/php/php-src.git synced 2026-04-08 08:33:06 +02:00

- Fix a crash (not a thorough fix).

- Commented old code
This commit is contained in:
Andi Gutmans
2001-12-25 16:51:37 +00:00
parent a05e74cd29
commit ee44180fc6
2 changed files with 3 additions and 1 deletions

View File

@@ -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);

View File

@@ -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: