diff options
author | George Peter Banyard <girgias@php.net> | 2020-08-26 12:57:24 +0200 |
---|---|---|
committer | George Peter Banyard <girgias@php.net> | 2020-08-26 12:59:43 +0200 |
commit | 1b2ec73c1d9175769c3ad4dd40825546851287bc (patch) | |
tree | 6990f3beaecc66a2f9f8196cb092691618ea8aa7 /main/SAPI.c | |
parent | ebbe333ede58aef60740bd297327188513814f1b (diff) | |
download | php-git-1b2ec73c1d9175769c3ad4dd40825546851287bc.tar.gz |
Drop various unused macros/APIs
Also convert_libmagic_pattern() to return a zend_string*
Closes GH-6029
Diffstat (limited to 'main/SAPI.c')
-rw-r--r-- | main/SAPI.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/SAPI.c b/main/SAPI.c index e30d8d780c..01ec31f722 100644 --- a/main/SAPI.c +++ b/main/SAPI.c @@ -54,7 +54,7 @@ static void _type_dtor(zval *zv) static void sapi_globals_ctor(sapi_globals_struct *sapi_globals) { memset(sapi_globals, 0, sizeof(*sapi_globals)); - zend_hash_init_ex(&sapi_globals->known_post_content_types, 8, NULL, _type_dtor, 1, 0); + zend_hash_init(&sapi_globals->known_post_content_types, 8, NULL, _type_dtor, 1); php_setup_sapi_content_types(); } |