libxml_use_internal_errors(true) to ignore them.
Also the markup changed so I tried to adjust the xpath handing to fetch the correct value again.
Doesn't seem to work for me. If I try to get the stats for
google.com, the rank is not parsed (the xpath fails, and
$value is set to
Oh. Seems I accidentally committed a
! in the if condition that shouldn't have been there... Should work now.