diff options
author | Dmitry Stogov <dmitry@zend.com> | 2019-03-14 03:01:01 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2019-03-14 03:01:01 +0300 |
commit | 9499484ed2f0377678b2b4d88573327ee0e4ce6d (patch) | |
tree | 2253189b70e711565902d2c372fe5d93ce111358 /sapi/phpdbg/phpdbg.c | |
parent | a1b7bc0c8148eaf728fccdffe147e3bc0c03f18e (diff) | |
download | php-git-9499484ed2f0377678b2b4d88573327ee0e4ce6d.tar.gz |
Implemented a faster way to access predefined TSRM resources - CG(), EG(), etc.
Diffstat (limited to 'sapi/phpdbg/phpdbg.c')
-rw-r--r-- | sapi/phpdbg/phpdbg.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sapi/phpdbg/phpdbg.c b/sapi/phpdbg/phpdbg.c index 11e1fcf574..51c6cde122 100644 --- a/sapi/phpdbg/phpdbg.c +++ b/sapi/phpdbg/phpdbg.c @@ -1416,8 +1416,7 @@ int main(int argc, char **argv) /* {{{ */ phpdbg_main: #ifdef ZTS - tsrm_startup(1, 1, 0, NULL); - (void)ts_resource(0); + php_tsrm_startup(); # ifdef PHP_WIN32 ZEND_TSRMLS_CACHE_UPDATE(); # endif |