This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Model of an IPv4 network address. | |
* Use {@link IPv4Address#fromString} to create an instance. | |
* Use {@link IPv4Address#isReserved} to check if the address has been reserved | |
* by IETF or IANA for special purposes and thus is most likely invalid for a | |
* client connected from outside the local network. | |
*/ | |
class IPv4Address { |