Skip to content

API krisp_broadcast

JoungKyun Kim edited this page Jul 17, 2016 · 1 revision

SYNOPSIS

(string) krisp_broadcast ((string) $ip, (string) $mask)

$ip

dotted IPv4 address

$mask

dotted network mask

DESCRIPTION

returns dotted broadcast address about given IPv4 address and network mask.

RETURN VALUE

Return dotted address on success, otherwise return false.

EXAMPLE

<?php
# resutls:
#     10.0.0.31
print_r (krisp_broadcast ('10.0.0.3', '255.255.255.224'));
?>

See Also

krisp_netmask, krisp_network, krisp_mask2prefix, krisp_prefix2mask