@@ -650,17 +650,17 @@ static void compiler_globals_ctor(zend_compiler_globals *compiler_globals) /* {{
650650 compiler_globals -> compiled_filename = NULL ;
651651
652652 compiler_globals -> function_table = (HashTable * ) malloc (sizeof (HashTable ));
653- zend_hash_init_ex (compiler_globals -> function_table , 1024 , NULL , ZEND_FUNCTION_DTOR , 1 , 0 );
653+ zend_hash_init (compiler_globals -> function_table , 1024 , NULL , ZEND_FUNCTION_DTOR , 1 );
654654 zend_hash_copy (compiler_globals -> function_table , global_function_table , function_copy_ctor );
655655
656656 compiler_globals -> class_table = (HashTable * ) malloc (sizeof (HashTable ));
657- zend_hash_init_ex (compiler_globals -> class_table , 64 , NULL , ZEND_CLASS_DTOR , 1 , 0 );
657+ zend_hash_init (compiler_globals -> class_table , 64 , NULL , ZEND_CLASS_DTOR , 1 );
658658 zend_hash_copy (compiler_globals -> class_table , global_class_table , zend_class_add_ref );
659659
660660 zend_set_default_compile_time_values ();
661661
662662 compiler_globals -> auto_globals = (HashTable * ) malloc (sizeof (HashTable ));
663- zend_hash_init_ex (compiler_globals -> auto_globals , 8 , NULL , auto_global_dtor , 1 , 0 );
663+ zend_hash_init (compiler_globals -> auto_globals , 8 , NULL , auto_global_dtor , 1 );
664664 zend_hash_copy (compiler_globals -> auto_globals , global_auto_globals_table , auto_global_copy_ctor );
665665
666666 compiler_globals -> script_encoding_list = NULL ;
@@ -894,12 +894,12 @@ int zend_startup(zend_utility_functions *utility_functions) /* {{{ */
894894 GLOBAL_AUTO_GLOBALS_TABLE = (HashTable * ) malloc (sizeof (HashTable ));
895895 GLOBAL_CONSTANTS_TABLE = (HashTable * ) malloc (sizeof (HashTable ));
896896
897- zend_hash_init_ex (GLOBAL_FUNCTION_TABLE , 1024 , NULL , ZEND_FUNCTION_DTOR , 1 , 0 );
898- zend_hash_init_ex (GLOBAL_CLASS_TABLE , 64 , NULL , ZEND_CLASS_DTOR , 1 , 0 );
899- zend_hash_init_ex (GLOBAL_AUTO_GLOBALS_TABLE , 8 , NULL , auto_global_dtor , 1 , 0 );
900- zend_hash_init_ex (GLOBAL_CONSTANTS_TABLE , 128 , NULL , ZEND_CONSTANT_DTOR , 1 , 0 );
897+ zend_hash_init (GLOBAL_FUNCTION_TABLE , 1024 , NULL , ZEND_FUNCTION_DTOR , 1 );
898+ zend_hash_init (GLOBAL_CLASS_TABLE , 64 , NULL , ZEND_CLASS_DTOR , 1 );
899+ zend_hash_init (GLOBAL_AUTO_GLOBALS_TABLE , 8 , NULL , auto_global_dtor , 1 );
900+ zend_hash_init (GLOBAL_CONSTANTS_TABLE , 128 , NULL , ZEND_CONSTANT_DTOR , 1 );
901901
902- zend_hash_init_ex (& module_registry , 32 , NULL , module_destructor_zval , 1 , 0 );
902+ zend_hash_init (& module_registry , 32 , NULL , module_destructor_zval , 1 );
903903 zend_init_rsrc_list_dtors ();
904904
905905#ifdef ZTS
0 commit comments