php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
php_mbregex.h
Go to the documentation of this file.
1/*
2 +----------------------------------------------------------------------+
3 | Copyright (c) The PHP Group |
4 +----------------------------------------------------------------------+
5 | This source file is subject to version 3.01 of the PHP license, |
6 | that is bundled with this package in the file LICENSE, and is |
7 | available through the world-wide-web at the following url: |
8 | https://www.php.net/license/3_01.txt |
9 | If you did not receive a copy of the PHP license and are unable to |
10 | obtain it through the world-wide-web, please send a note to |
11 | license@php.net so we can mail you a copy immediately. |
12 +----------------------------------------------------------------------+
13 | Author: Moriyoshi Koizumi <moriyoshi@php.net> |
14 +----------------------------------------------------------------------+
15 */
16
17#ifndef _PHP_MBREGEX_H
18#define _PHP_MBREGEX_H
19
20#ifdef HAVE_MBREGEX
21
22#include "php.h"
23#include "zend.h"
24
25#define PHP_MBREGEX_MAXCACHE 50
26
27PHP_MINIT_FUNCTION(mb_regex);
29PHP_RINIT_FUNCTION(mb_regex);
31PHP_MINFO_FUNCTION(mb_regex);
32
33extern char php_mb_oniguruma_version[256];
34
35typedef struct _zend_mb_regex_globals zend_mb_regex_globals;
36
37zend_mb_regex_globals *php_mb_regex_globals_alloc(void);
38void php_mb_regex_globals_free(zend_mb_regex_globals *pglobals);
39int php_mb_regex_set_mbctype(const char *enc);
40int php_mb_regex_set_default_mbctype(const char *encname);
41const char *php_mb_regex_get_mbctype(void);
42const char *php_mb_regex_get_default_mbctype(void);
43
44#endif /* HAVE_MBREGEX */
45
46#endif /* _PHP_MBREGEX_H */
#define PHP_MSHUTDOWN_FUNCTION
Definition php.h:401
#define PHP_MINIT_FUNCTION
Definition php.h:400
#define PHP_MINFO_FUNCTION
Definition php.h:404
#define PHP_RINIT_FUNCTION
Definition php.h:402
#define PHP_RSHUTDOWN_FUNCTION
Definition php.h:403