2023年11月19日(日) 5:11 mickmackusa <mickmack...@gmail.com>: > Can you please clear up some ambiguity for me regarding mb_trim()? > > Is it true that the .. character range syntax will not be supported at all or > is it merely that that syntax will not be allowed when one of the range > limits includes a multibyte character? > > Is a mix of a single byte range plus individual multibyte characters allowed? > > If .. is attempted, will it be silently interpretted as two literal dots or > will some kind of Notice be issued? > > I want to keep https://stackoverflow.com/a/72865139/2943403 accurate and up > to date.
Hi, Yes, mb_trim series is not support ".." notation. ".." is processed as is. Because single byte character code is also Unicode mapping incompatible. For example, ISO-8859 series, KOI8-R and KOI8-U etc... Regards Yuya -- --------------------------- Yuya Hamada (tekimen) - https://tekitoh-memdhoi.info - https://github.com/youkidearitai ----------------------------- -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php