Lines Matching refs:ihost
79 protected $ihost = null; variable in SimplePie\\IRI
277 … if ($relative->iuserinfo !== null || $relative->ihost !== null || $relative->port !== null) {
284 $target->ihost = $base->ihost;
289 …} elseif (($base->iuserinfo !== null || $base->ihost !== null || $base->port !== null) && $base->i…
656 …if (isset($this->normalization[$this->scheme]['ihost']) && $this->ihost === $this->normalization[$…
657 $this->ihost = null;
685 $isauthority = $this->iuserinfo !== null || $this->ihost !== null ||
731 $this->ihost,
756 $this->ihost,
807 $this->ihost = null;
813 $this->ihost,
843 $this->ihost,
873 * @param string $ihost
876 public function set_host($ihost) argument
878 if ($ihost === null) {
879 $this->ihost = null;
881 } elseif (substr($ihost, 0, 1) === '[' && substr($ihost, -1) === ']') {
882 if (\SimplePie\Net\IPv6::check_ipv6(substr($ihost, 1, -1))) {
883 $this->ihost = '[' . \SimplePie\Net\IPv6::compress(substr($ihost, 1, -1)) . ']';
885 $this->ihost = null;
889 $ihost = $this->replace_invalid_with_pct_encoding($ihost, '!$&\'()*+,;=');
895 $strlen = strlen($ihost);
896 … while (($position += strcspn($ihost, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ%', $position)) < $strlen) {
897 if ($ihost[$position] === '%') {
900 $ihost[$position] = strtolower($ihost[$position]);
905 $this->ihost = $ihost;
1075 if ($this->iuserinfo !== null || $this->ihost !== null || $this->port !== null) {
1080 if ($this->ihost !== null) {
1081 $iauthority .= $this->ihost;