Home Blog List bhjbjb-123-vhjvkb-klbl

2018-01-06 10:55:55     posted by : dfg

qbolec at gmail dot com2 years ago. As you often need to iterate over UTF-8 characters inside a string, you might be tempted to use mb_substr($text,$i,1). The problem with this is that there is no "magic" way to find $i-th character inside UTF-8 string, other than reading it byte by byte from the begining. Thus a loop which