pglobals 64 ext/mbstring/php_mbregex.c static int _php_mb_regex_globals_ctor(zend_mb_regex_globals *pglobals) pglobals 66 ext/mbstring/php_mbregex.c pglobals->default_mbctype = ONIG_ENCODING_UTF8; pglobals 67 ext/mbstring/php_mbregex.c pglobals->current_mbctype = ONIG_ENCODING_UTF8; pglobals 68 ext/mbstring/php_mbregex.c zend_hash_init(&(pglobals->ht_rc), 0, NULL, php_mb_regex_free_cache, 1); pglobals 69 ext/mbstring/php_mbregex.c ZVAL_UNDEF(&pglobals->search_str); pglobals 70 ext/mbstring/php_mbregex.c pglobals->search_re = (php_mb_regex_t*)NULL; pglobals 71 ext/mbstring/php_mbregex.c pglobals->search_pos = 0; pglobals 72 ext/mbstring/php_mbregex.c pglobals->search_regs = (OnigRegion*)NULL; pglobals 73 ext/mbstring/php_mbregex.c pglobals->regex_default_options = ONIG_OPTION_MULTILINE | ONIG_OPTION_SINGLELINE; pglobals 74 ext/mbstring/php_mbregex.c pglobals->regex_default_syntax = ONIG_SYNTAX_RUBY; pglobals 80 ext/mbstring/php_mbregex.c static void _php_mb_regex_globals_dtor(zend_mb_regex_globals *pglobals) pglobals 82 ext/mbstring/php_mbregex.c zend_hash_destroy(&pglobals->ht_rc); pglobals 89 ext/mbstring/php_mbregex.c zend_mb_regex_globals *pglobals = pemalloc( pglobals 91 ext/mbstring/php_mbregex.c if (!pglobals) { pglobals 94 ext/mbstring/php_mbregex.c if (SUCCESS != _php_mb_regex_globals_ctor(pglobals)) { pglobals 95 ext/mbstring/php_mbregex.c pefree(pglobals, 1); pglobals 98 ext/mbstring/php_mbregex.c return pglobals; pglobals 103 ext/mbstring/php_mbregex.c void php_mb_regex_globals_free(zend_mb_regex_globals *pglobals) pglobals 105 ext/mbstring/php_mbregex.c if (!pglobals) { pglobals 108 ext/mbstring/php_mbregex.c _php_mb_regex_globals_dtor(pglobals); pglobals 109 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);