implemented ANSI strlen helper

issue #746
updated phpdoc and classmap