Hugues Peccatte a écrit :
What I don't like is that we would have two different syntaxes to call> 2014-09-23 16:23 GMT+02:00 Marc Delisle <marc@infomarc.info>:
>
> That's it. Instead of using $pmaString->strlen or strlen, we could imagine
> to use pmaStrlen and this function would call strlen or mb_strlen if mb_*
> functions exist.
> Another way could be to overwrite strlen with mb_strlen, but we wouldn't be
> able to use the original strlen if needed. So I think that we should define
> new functions.
string functions. We would need comments in the calling code to explain
why we are using a way and not another way.
>
> I'll try to do a mass replacement and check if the execution time is better.
>
> Hugues.
--
Marc Delisle (phpMyAdmin)