Update Htmldom.php

$strlen($str) -> strlen($str)
Merge pull request #3 from alep84/patch-1

fix a typo