enhance strlen to improve performance
set assignment in the first place
Merge branch 'hotfix/3322'

Close #3322
Merge branch 'improve.strlen' of git://github.com/samsonasik/zf2 into hotfix/3324
Merge branch 'hotfix/3324' into develop

Forward port #3324