Joined January 2013
·

Marco Cervellin

Web Developer at Macodev
·
Italy
·
·
·

Nice solution, although it seems to me it doesn't prevent user interaction on objects behind the outline (ie click on anchors is still allowed).

Posted to [PHP] String Length, The Right Way over 1 year ago

Working on a full UTF-8 'environment' should not give encoding issues, so using always mb_strlen can be the simplest and faster approach.
Nice trick with isset() anyway.

Achievements
90 Karma
17,958 Total ProTip Views