PHP内核中重要的两个全局变量(二)

2014-11-23 17:45:09 · 作者: · 浏览: 107
class_table; /* class table */
HashTable *zend_constants; /* constants table */


zend_class_entry *scope;


zval *This;


long precision;


int ticks_count;


zend_bool in_execution;
HashTable *in_autoload;
zend_function *autoload_func;
zend_bool full_tables_cleanup;
zend_bool ze1_compatibility_mode;


/* for extended information support */
zend_bool no_extensions;


#ifdef ZEND_WIN32
zend_bool timed_out;
#endif


HashTable regular_list;
HashTable persistent_list;


zend_ptr_stack argument_stack;


int user_error_handler_error_reporting;
zval *user_error_handler;
zval *user_exception_handler;
zend_stack user_error_handlers_error_reporting;
zend_ptr_stack user_error_handlers;
zend_ptr_stack user_exception_handlers;


/* timeout support */
int timeout_seconds;


int lambda_count;


HashTable *ini_directives;
HashTable *modified_ini_directives;


zend_objects_store objects_store;
zval *exception;
zend_op *opline_before_exception;


struct _zend_execute_data *current_execute_data;


struct _zend_module_entry *current_module;


zend_property_info std_property_info;


zend_bool active;


void *reserved[ZEND_MAX_RESERVED_RESOURCES];
};