jeremykendall/php-domain-parser — pull request #15 by goodhabit (2013-04-19 14:16:26+00:00)
Title: Wrong parsing of public suffix

Parsing the host `us.example.com` was resulting in public suffix `us.com`

The problem is that the loop in `Pdp\Parser#getPublicSuffix` (line 115) did not match `example` in public suffix list but it continues.

A `break` at the end of the loop solved it.