Net_IPv4::calculate()

Net_IPv4::calculate()

Net_IPv4::calculate() -- Calculates network information based on an IP address and netmask.

Description

Fully populates the object properties based on the IP address and netmask/bitmask properties. Once these two fields are populated, calculate() will perform calculations to determine the network and broadcast address of the network.

Return value

boolean - Returns TRUE on success, PEAR_Error on failure.

Note

This function can not be called statically.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.