Requests_IRI::set_userinfo

Advertisement

Summery Summery

Set the iuserinfo.

Syntax Syntax

Requests_IRI::set_userinfo( string $iuserinfo )

Parameters Parameters

$iuserinfo

(string) (Required)

Return Return

(bool)

Source Source

File: wp-includes/Requests/IRI.php

	protected function set_userinfo($iuserinfo) {
		if ($iuserinfo === null) {
			$this->iuserinfo = null;
		}
		else {
			$this->iuserinfo = $this->replace_invalid_with_pct_encoding($iuserinfo, '!$&\'()*+,;=:');
			$this->scheme_normalization();
		}

		return true;
	}

Advertisement

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.