Lines Matching refs:ihost

76      * ihost
80 protected $ihost = null;
124 'ihost' => 'localhost'
159 || $name === 'ihost'
190 // host -> ihost
278 if ($relative->iuserinfo !== null || $relative->ihost !== null || $relative->port !== null) {
285 $target->ihost = $base->ihost;
290 } elseif (($base->iuserinfo !== null || $base->ihost !== null || $base->port !== null) && $base->ipath === '') {
657 if (isset($this->normalization[$this->scheme]['ihost']) && $this->ihost === $this->normalization[$this->scheme]['ihost']) {
658 $this->ihost = null;
686 $isauthority = $this->iuserinfo !== null || $this->ihost !== null ||
732 $this->ihost,
757 $this->ihost,
808 $this->ihost = null;
814 $this->ihost,
844 $this->ihost,
871 * Set the ihost. Returns true on success, false on failure (if there are
874 * @param string $ihost
877 public function set_host($ihost)
879 if ($ihost === null) {
880 $this->ihost = null;
882 } elseif (substr($ihost, 0, 1) === '[' && substr($ihost, -1) === ']') {
883 if (\SimplePie\Net\IPv6::check_ipv6(substr($ihost, 1, -1))) {
884 $this->ihost = '[' . \SimplePie\Net\IPv6::compress(substr($ihost, 1, -1)) . ']';
886 $this->ihost = null;
890 $ihost = $this->replace_invalid_with_pct_encoding($ihost, '!$&\'()*+,;=');
896 $strlen = strlen($ihost);
897 while (($position += strcspn($ihost, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ%', $position)) < $strlen) {
898 if ($ihost[$position] === '%') {
901 $ihost[$position] = strtolower($ihost[$position]);
906 $this->ihost = $ihost;
1076 if ($this->iuserinfo !== null || $this->ihost !== null || $this->port !== null) {
1081 if ($this->ihost !== null) {
1082 $iauthority .= $this->ihost;