Skip to main content

port

Function port 

Source
pub fn port(value: Input<'_>) -> bool
Expand description

A port from 1 to 65535, optionally after an IPv4 address or a bracketed IPv6 one and a colon (127.0.0.1:80, [::1]:443). An int is checked as its decimal string.

PHP: Port::isValid().