We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thanks for the nice library. Im missing a feature to get the mask() in cidr.
Example: $block = new IPv4Block('128.0.0.0/16'); $block->getMask() = 255.255.0.0
Wish: $block->getMaskCIDR() = 16
The text was updated successfully, but these errors were encountered:
$block->getPrefix() should do it.
Sorry, something went wrong.
Indeed there is $block->getPrefix() for that. I need to update the documentation!
$block->getPrefix()
No branches or pull requests
Thanks for the nice library. Im missing a feature to get the mask() in cidr.
Example:
$block = new IPv4Block('128.0.0.0/16');
$block->getMask() = 255.255.0.0
Wish:
$block->getMaskCIDR() = 16
The text was updated successfully, but these errors were encountered: