25 Jun 2015, PHP 7.0.0 Alpha 2
- Core:
+ . Fixed bug #69823 (PHP 7.0.0alpha1 segmentation fault when exactly 33
+ extensions are loaded). (Laruence)
. Fixed bug #69805 (null ptr deref and seg fault in zend_resolve_class_name).
(Laruence)
. Fixed bug #69761 (Serialization of anonymous classes should be prevented).
#ifdef PHP_MHASH_BC
+#if 0
+/* See #69823, we should not insert module into module_registry while doing startup */
+
PHP_MINFO_FUNCTION(mhash)
{
php_info_print_table_start();
PHP_MHASH_VERSION,
STANDARD_MODULE_PROPERTIES,
};
+#endif
static void mhash_init(INIT_FUNC_ARGS)
{
len = slprintf(buf, 127, "MHASH_%s", algorithm.mhash_name, strlen(algorithm.mhash_name));
zend_register_long_constant(buf, len, algorithm.value, CONST_CS | CONST_PERSISTENT, module_number);
}
- zend_register_internal_module(&mhash_module_entry);
+
+ /* TODO: this cause #69823 zend_register_internal_module(&mhash_module_entry); */
}
/* {{{ proto string mhash(int hash, string data [, string key])
php_info_print_table_row(2, "hash support", "enabled");
php_info_print_table_row(2, "Hashing Engines", buffer);
php_info_print_table_end();
+
+#ifdef PHP_MHASH_BC
+ php_info_print_table_start();
+ php_info_print_table_row(2, "MHASH support", "Enabled");
+ php_info_print_table_row(2, "MHASH API Version", "Emulated Support");
+ php_info_print_table_end();
+#endif
+
}
/* }}} */