mb_split

(PHP 4 >= 4.2.0)

mb_split -- Split multibyte string using regular expression

Description

array mb_split ( string pattern, string string [, int limit])

אזהרה

הפונקציה הזו היא ניסיונית. כלומר, התנהגות הפונקציה,שם הפונקציה ובאופן כללי כל מה שמתועד כאן עשוי להשתנות בהפצה עתידית של PHP ללא התרעה. ראה הוזהרת,השימוש בפונקציה זו על אחריותך בלבד.

mb_split() split multibyte string using regular expression pattern and returns the result as an array.

If optional parameter limit is specified, it will be split in limit elements as maximum.

The internal encoding or the character encoding specified in mb_regex_encoding() will be used as character encoding.

הערה: This function is supported in PHP 4.2.0 or higher.

See also: mb_regex_encoding(), mb_ereg().