zend_hash_add(GLOBAL_CLASS_TABLE, "stdclass", sizeof("stdclass"), &zend_standard_class_def, sizeof(zend_class_entry *), NULL);
}
+#ifdef ZTS
static void unregister_standard_class()
{
destroy_zend_class(&zend_standard_class_def);
}
+#endif
static void zend_set_default_compile_time_values(TSRMLS_D)
{
}
+#ifdef ZTS
static void alloc_globals_dtor(zend_alloc_globals *alloc_globals_p TSRMLS_DC)
{
shutdown_memory_manager(0, 1 TSRMLS_CC);
}
+#endif
#ifdef __FreeBSD__
zend_shutdown_constants(TSRMLS_C);
#ifdef ZTS
zend_hash_destroy(GLOBAL_CONSTANTS_TABLE);
-#endif
unregister_standard_class();
+#endif
}