I heard that in PHP there are some alternatives for the functions substr() and strlen() which handles safer bits. Is this true and if it is then what are those functions? I heard that it is based on the function strcmp() but I don’t see directly how can I use it.
Share
The functions are prefixed with
mb_. See here: http://php.net/manual/en/ref.mbstring.phpFrom PHP’s Multibyte String extension’s introduction: