amphp / socket

Non-blocking socket and TLS functionality for PHP based on Amp.
https://amphp.org/socket
MIT License
231 stars 38 forks source link

Fixed InternetAddress::fromString always failing #94

Closed Bilge closed 2 years ago

Bilge commented 2 years ago

InternetAddress::fromString always failed to validate because it included the colon in the port. Also added a unit test for this method.

kelunik commented 2 years ago

Thanks!