void http\Url::__construct([mixed $old_url = NULL[, mixed $new_url = NULL[, int $flags = 0]]])

Create an instance of an http\Url.

NOTE:
Prior to v3.0.0, the default for the $flags parameter was http\Url::FROM_ENV.

See also http\Env\Url.

Params:

Throws:

Changelog:

  1. v3.0.0