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/cli/php_cli.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/cli/php_cli.c')
-rw-r--r-- | sapi/cli/php_cli.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c index 2cc83a5d6d..4333487a0b 100644 --- a/sapi/cli/php_cli.c +++ b/sapi/cli/php_cli.c @@ -1246,8 +1246,7 @@ int main(int argc, char *argv[]) #ifdef ZTS - tsrm_startup(1, 1, 0, NULL); - (void)ts_resource(0); + php_tsrm_startup(); # ifdef PHP_WIN32 ZEND_TSRMLS_CACHE_UPDATE(); # endif |