Revert "String length now behaves like PHP. It returns the number of bytes, which is different for non-ascii UTF code-points."

This reverts commit acbef7e130d6b72d198b967bd70b532002027561.