示例#1
0
    php_info_print_table_row(2, "msgpacki support", "enabled");
    php_info_print_table_row(2, "extension version", MSGPACKI_EXT_VERSION);
#if HAVE_PHP_SESSION
    php_info_print_table_row(2, "session support", "enabled" );
#endif
    php_info_print_table_end();

    DISPLAY_INI_ENTRIES();
}

zend_module_entry msgpacki_module_entry = {
#if ZEND_MODULE_API_NO >= 20010901
    STANDARD_MODULE_HEADER,
#endif
    "msgpacki",
    msgpacki_functions,
    ZEND_MINIT(msgpacki),
    ZEND_MSHUTDOWN(msgpacki),
    ZEND_RINIT(msgpacki),
    ZEND_RSHUTDOWN(msgpacki),
    ZEND_MINFO(msgpacki),
#if ZEND_MODULE_API_NO >= 20010901
    MSGPACKI_EXT_VERSION,
#endif
    STANDARD_MODULE_PROPERTIES
};

#ifdef COMPILE_DL_MSGPACKI
ZEND_GET_MODULE(msgpacki)
#endif
示例#2
0
    if (hprose_globals->cache2) {
        zend_hash_destroy(hprose_globals->cache2);
        FREE_HASHTABLE(hprose_globals->cache2);
        hprose_globals->cache2 = NULL;
    }
}

/* compiled module information */
zend_module_entry hprose_module_entry = {
    STANDARD_MODULE_HEADER,
    PHP_HPROSE_MODULE_NAME,        /* extension name */
    hprose_functions,              /* function list */
    ZEND_MINIT(hprose),            /* process startup */
    ZEND_MSHUTDOWN(hprose),        /* process shutdown */
    ZEND_RINIT(hprose),            /* request startup */
    ZEND_RSHUTDOWN(hprose),        /* request shutdown */
    ZEND_MINFO(hprose),            /* extension info */
    PHP_HPROSE_VERSION,            /* extension version */
    ZEND_MODULE_GLOBALS(hprose),   /* globals descriptor */
    ZEND_GINIT(hprose),            /* globals ctor */
    ZEND_GSHUTDOWN(hprose),        /* globals dtor */
    NULL,                          /* post deactivate */
    STANDARD_MODULE_PROPERTIES_EX
};

#ifdef COMPILE_DL_HPROSE
#if PHP_MAJOR_VERSION >= 7 && defined(ZTS)
ZEND_TSRMLS_CACHE_DEFINE();
#endif
ZEND_GET_MODULE(hprose)
#endif