Open yourchoice opened 2 months ago
I see new StrlenModifierCompiler looks like:
class StrlenModifierCompiler extends Base {
public function compile($params, \Smarty\Compiler\Template $compiler) {
return 'strlen((string) ' . $params[0] . ')';
}
}
Why "strlen" modifier not use mb_strlen() instead of strlen() function ?
To have something like :