ported ext/mbstring