diff options
| author | Zeev Suraski <zeev@php.net> | 2004-02-03 15:37:37 +0000 |
|---|---|---|
| committer | Zeev Suraski <zeev@php.net> | 2004-02-03 15:37:37 +0000 |
| commit | c5a7b668cdd79fc575e7c0bc40e676ab272db081 (patch) | |
| tree | e9f7ef1698ffc601bf9bc43ce7e359a2f6914278 /Zend/zend_execute_API.c | |
| parent | 871d8bdb573adf22b2e640cb9057b70c9fb9536e (diff) | |
| download | php-git-c5a7b668cdd79fc575e7c0bc40e676ab272db081.tar.gz | |
- Clean garbage (delete was nuked a long time ago)
Diffstat (limited to 'Zend/zend_execute_API.c')
| -rw-r--r-- | Zend/zend_execute_API.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c index 086bde4b27..d99e6dd5c1 100644 --- a/Zend/zend_execute_API.c +++ b/Zend/zend_execute_API.c @@ -238,11 +238,11 @@ void shutdown_executor(TSRMLS_D) zend_try { /* Cleanup static data for functions and arrays. - We need separate cleanup stage because of the following problem: - Suppose we destroy class X, which destroys function table, - and in function table we have function foo() that has static $bar. Now if - object of class X is assigned to $bar, its destructor will be called and will - fail since X's function table is in mid-destruction. + We need a separate cleanup stage because of the following problem: + Suppose we destroy class X, which destroys the class's function table, + and in the function table we have function foo() that has static $bar. + Now if an object of class X is assigned to $bar, its destructor will be + called and will fail since X's function table is in mid-destruction. So we want first of all to clean up all data and then move to tables destruction. Note that only run-time accessed data need to be cleaned up, pre-defined data can not contain objects and thus are not probelmatic */ |
