rashid2538 / php-htmldiff

A library for comparing two HTML files/snippets and highlighting the differences using simple HTML.
GNU General Public License v2.0
69 stars 48 forks source link

Update HtmlDiff.php #22

Open JohnWE opened 5 years ago

JohnWE commented 5 years ago

Update to make work with PHP7.2's changes to count().

I couldn't find a case where line 360 would fail, but I may be missing something. Maybe the if statement isn't necessary.