Re: [RFC] Desire to move RFC add_str_begin_and_end_functions to a vote

From: Date: Sat, 22 Jun 2019 20:27:43 +0000
Subject: Re: [RFC] Desire to move RFC add_str_begin_and_end_functions to a vote
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-106037@lists.php.net to get a copy of this message
On Sat, Jun 22, 2019 at 6:32 PM Nikita Popov <nikita.ppv@gmail.com> wrote: > > The normal str_starts_with() function is perfectly safe to use on UTF-8 strings, Only if you assume strings to be normalized to the same form. Checking if NFC string starts with NFD substring by checking them bit by bit is going to yield false negatives [1] [1] https://3v4l.org/4HgUL -- Best regards, Bruce Weirdan mailto:weirdan@gmail.com

« previous php.internals (#106037) next »