diff options
author | Dmitry Stogov <dmitry@php.net> | 2008-07-10 11:36:50 +0000 |
---|---|---|
committer | Dmitry Stogov <dmitry@php.net> | 2008-07-10 11:36:50 +0000 |
commit | 53bbf1238cd3f19c3f869f1a01704cdbab60c712 (patch) | |
tree | 10d70300a9aba5e343c85537e51d6b87ba7eb440 /ext/phar/phar_internal.h | |
parent | 8ceb0b6fd36b4a228a15d97ec01361589d4834da (diff) | |
download | php-git-53bbf1238cd3f19c3f869f1a01704cdbab60c712.tar.gz |
Extensions MUST NOT manipulate with internal functions from EG(function_table) in run-time. It may cause problems with opcode caches and in multi-threaded environment. Now the same functions are overriden at MINIT and call original functions or PHAR ones dependent on flag setting.
Diffstat (limited to 'ext/phar/phar_internal.h')
-rwxr-xr-x | ext/phar/phar_internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/phar/phar_internal.h b/ext/phar/phar_internal.h index e8873dec5c..e2e415eeab 100755 --- a/ext/phar/phar_internal.h +++ b/ext/phar/phar_internal.h @@ -158,6 +158,7 @@ ZEND_BEGIN_MODULE_GLOBALS(phar) int has_bz2; zend_bool readonly_orig; zend_bool require_hash_orig; + zend_bool intercepted; int request_init; int require_hash; int request_done; |