跳转到主要内容

mb-ereg-match

mb_ereg_match

Regular expression match for multibyte string

ENTITY

bool

mb_ereg_match

string

pattern

string

string

string

null

options

ENTITY

A regular expression match for a multibyte string

pattern is only matched at the beginning of string.

ENTITY

pattern
The regular expression pattern.

string
The string being evaluated.

options
The search option. See mb_regex_set_options for explanation.

ENTITY

Returns ENTITY if string matches the regular expression pattern, ENTITY if not.

ENTITY

ENTITY ENTITY
8.0.0 options is nullable now.

ENTITY ENTITY

ENTITY

mb_regex_encoding, mb_ereg