Separate php_mb_reset() from php_mblen()

Instead of fighting against warnings ...
Fix DOM warnings