Resolves Problem with PHP 7.2 Throwing Error on count
Resolves Problem with PHP 7.2 Throwing Error on count

Problem: Currently PHP 7.2 throws an error if count is used on a non-countable object.
Resolution: Check for variable Countableness.
Change: Check variable is an instanceof Countable.
paquettg/php-html-parser,paquettg/php-html-parser