pglobals 65 ext/mbstring/php_mbregex.c static int _php_mb_regex_globals_ctor(zend_mb_regex_globals *pglobals TSRMLS_DC) pglobals 67 ext/mbstring/php_mbregex.c pglobals->default_mbctype = ONIG_ENCODING_UTF8; pglobals 68 ext/mbstring/php_mbregex.c pglobals->current_mbctype = ONIG_ENCODING_UTF8; pglobals 69 ext/mbstring/php_mbregex.c zend_hash_init(&(pglobals->ht_rc), 0, NULL, (void (*)(void *)) php_mb_regex_free_cache, 1); pglobals 70 ext/mbstring/php_mbregex.c pglobals->search_str = (zval*) NULL; pglobals 71 ext/mbstring/php_mbregex.c pglobals->search_re = (php_mb_regex_t*)NULL; pglobals 72 ext/mbstring/php_mbregex.c pglobals->search_pos = 0; pglobals 73 ext/mbstring/php_mbregex.c pglobals->search_regs = (OnigRegion*)NULL; pglobals 74 ext/mbstring/php_mbregex.c pglobals->regex_default_options = ONIG_OPTION_MULTILINE | ONIG_OPTION_SINGLELINE; pglobals 75 ext/mbstring/php_mbregex.c pglobals->regex_default_syntax = ONIG_SYNTAX_RUBY; pglobals 81 ext/mbstring/php_mbregex.c static void _php_mb_regex_globals_dtor(zend_mb_regex_globals *pglobals TSRMLS_DC) pglobals 83 ext/mbstring/php_mbregex.c zend_hash_destroy(&pglobals->ht_rc); pglobals 90 ext/mbstring/php_mbregex.c zend_mb_regex_globals *pglobals = pemalloc( pglobals 92 ext/mbstring/php_mbregex.c if (!pglobals) { pglobals 95 ext/mbstring/php_mbregex.c if (SUCCESS != _php_mb_regex_globals_ctor(pglobals TSRMLS_CC)) { pglobals 96 ext/mbstring/php_mbregex.c pefree(pglobals, 1); pglobals 99 ext/mbstring/php_mbregex.c return pglobals; pglobals 104 ext/mbstring/php_mbregex.c void php_mb_regex_globals_free(zend_mb_regex_globals *pglobals TSRMLS_DC) pglobals 106 ext/mbstring/php_mbregex.c if (!pglobals) { pglobals 109 ext/mbstring/php_mbregex.c _php_mb_regex_globals_dtor(pglobals TSRMLS_CC); pglobals 110 ext/mbstring/php_mbregex.c pefree(pglobals, 1); pglobals 74 ext/mbstring/php_mbregex.h void php_mb_regex_globals_free(zend_mb_regex_globals *pglobals TSRMLS_DC);