calls to strlen has been converted into calls to ::strlen, because Php::strlen() now also exists as (slow) php function, see issue #78