<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.uri-whatwg-url.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'tr',
  ),
  'this' => 
  array (
    0 => 'uri-whatwg-url.resolve.php',
    1 => 'Uri\\WhatWg\\Url::resolve',
    2 => 'Resolve a URL with the current object as the base URL',
  ),
  'up' => 
  array (
    0 => 'class.uri-whatwg-url.php',
    1 => 'Uri\\WhatWg\\Url',
  ),
  'prev' => 
  array (
    0 => 'uri-whatwg-url.parse.php',
    1 => 'Uri\\WhatWg\\Url::parse',
  ),
  'next' => 
  array (
    0 => 'uri-whatwg-url.serialize.php',
    1 => 'Uri\\WhatWg\\Url::__serialize',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/uri/uri/whatwg/url/resolve.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="uri-whatwg-url.resolve" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">Uri\WhatWg\Url::resolve</h1>
  <p class="verinfo">(PHP 8 &gt;= 8.5.0)</p><p class="refpurpose"><span class="refname">Uri\WhatWg\Url::resolve</span> &mdash; <span class="dc-title">Resolve a URL with the current object as the base URL</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-uri-whatwg-url.resolve-description">
  <h3 class="title">Açıklama</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>Uri\WhatWg\Url::resolve</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$uri</code></span>, <span class="methodparam"><span class="type"><a href="language.types.array.php" class="type array">array</a></span> <code class="parameter reference">&$softErrors</code><span class="initializer"> = <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong></span></span>): <span class="type">static</span></div>

  <p class="simpara">
   Resolves a valid URL string - which may potentially be a relative-URL string - with the current object as the base URL.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-uri-whatwg-url.resolve-parameters">
  <h3 class="title">Bağımsız Değişkenler</h3>
  <dl>
   
    <dt><code class="parameter">uri</code></dt>
    <dd>
     <span class="simpara">
      A valid URL string (e.g. <code class="literal">/foo</code> or (e.g. <code class="literal">https://example.com/foo</code>) to apply on
      the current object.
     </span>
    </dd>
   
   
    <dt><code class="parameter">softErrors</code></dt>
    <dd>
     <span class="simpara">
      An <span class="type"><a href="language.types.array.php" class="type array">array</a></span> to pass a list of <span class="classname"><a href="class.uri-whatwg-urlvalidationerror.php" class="classname">Uri\WhatWg\UrlValidationError</a></span>
      instances by reference to provide extended information about the soft errors triggered during reference resolution.
     </span>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-uri-whatwg-url.resolve-returnvalues">
  <h3 class="title">Dönen Değerler</h3>
  <p class="simpara">
   A new <span class="classname"><a href="class.uri-whatwg-url.php" class="classname">Uri\WhatWg\Url</a></span> instance.
  </p>
 </div>


 <div class="refsect1 errors" id="refsect1-uri-whatwg-url.resolve-errors">
  <h3 class="title">Hatalar/İstisnalar</h3>
  
  <p class="simpara">
   If the resulting URL is invalid, a <span class="exceptionname"><a href="class.uri-whatwg-invalidurlexception.php" class="exceptionname">Uri\WhatWg\InvalidUrlException</a></span> is thrown.
  </p>

 </div>


 <div class="refsect1 examples" id="refsect1-uri-whatwg-url.resolve-examples">
  <h3 class="title">Örnekler</h3>
  <div class="example" id="uri-whatwg-url.resolve.example.basic">
   <p><strong>Örnek 1 <span class="methodname"><strong>Uri\WhatWg\Url::resolve()</strong></span> basic example</strong></p>
   <div class="example-contents">
<div class="annotation-interactive phpcode"><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br />$url </span><span style="color: #007700">= new </span><span style="color: #0000BB">\Uri\WhatWg\Url</span><span style="color: #007700">(</span><span style="color: #DD0000">"https://example.com"</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">$url </span><span style="color: #007700">= </span><span style="color: #0000BB">$url</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">resolve</span><span style="color: #007700">(</span><span style="color: #DD0000">"/foo"</span><span style="color: #007700">);<br /><br />echo </span><span style="color: #0000BB">$url</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">toAsciiString</span><span style="color: #007700">();<br /></span><span style="color: #0000BB">?&gt;</span></span></code></div>
   </div>

   <div class="example-contents"><p>
Yukarıdaki örneğin çıktısı:</p></div>
   <div class="example-contents screen">
<div class="annotation-interactive examplescode"><pre class="examplescode">https://example.com/foo</pre>
</div>
   </div>
  </div>
 </div>


 <div class="refsect1 seealso" id="refsect1-uri-whatwg-url.resolve-seealso">
  <h3 class="title">Ayrıca Bakınız</h3>
  <ul class="simplelist">
   <li><span class="methodname"><a href="uri-whatwg-url.construct.php" class="methodname" rel="rdfs-seeAlso">Uri\WhatWg\Url::__construct()</a> - Construct the Url object</span></li>
   <li><span class="methodname"><a href="uri-whatwg-url.parse.php" class="methodname" rel="rdfs-seeAlso">Uri\WhatWg\Url::parse()</a> - Parse a URL</span></li>
   <li><span class="methodname"><a href="uri-rfc3986-uri.resolve.php" class="methodname" rel="rdfs-seeAlso">Uri\Rfc3986\Uri::resolve()</a> - Resolve a URI with the current object as the base URL</span></li>
  </ul>
 </div>

</div><?php manual_footer($setup); ?>