From 9499484ed2f0377678b2b4d88573327ee0e4ce6d Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Thu, 14 Mar 2019 03:01:01 +0300 Subject: Implemented a faster way to access predefined TSRM resources - CG(), EG(), etc. --- sapi/phpdbg/phpdbg.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sapi/phpdbg/phpdbg.c') 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 -- cgit v1.2.1