Summery Summery
Set the port. Returns true on success, false on failure (if there are any invalid characters).
Syntax Syntax
Parameters Parameters
- $port
-
(Required)
Return Return
(bool)
Source Source
File: wp-includes/SimplePie/IRI.php
{ $this->port = null; return true; } elseif (strspn($port, '0123456789') === strlen($port)) { $this->port = (int) $port; $this->scheme_normalization(); return true; } $this->port = null; return false; } /** * Set the ipath. * * @param string $ipath