Using PHP to split url : <p>I'm trying to split my url and have them in two variables.</p>

<p>For Example:</p>

<p>url = <a href="https://example.com/page@01" rel="nofollow noreferrer">https://example.com/page@01</a></p>

<p>I want to be able split this url into two and create two variable.</p>

<pre><code>$part_1 = example.com;
$part_2 = page@01
</code></pre>

<p>Thank you.</p>
