Using PHP, can I put variables inside of variables?
<p>For example, take this code:</p>

<pre><code>$ch = curl_init($resultSet['url']."?get0=get0&amp;get1=".$get1."&amp;get2=".$get2."&amp;get3=".$get3);
</code></pre>

<p>This of course, looks very ugly, and kind of a pain in the ass to read. So my question is, would I be able to use something like this:</p>

<pre><code>$allgets ="?act=phptools&amp;host=".$host."&amp;time=".$duration."&amp;port=".$port;
$ch = curl_init($resultSet['url'] . $allgets);
</code></pre>

<p>Very simple question I suppose, but my server is undergoing maintenance, so I can't upload it and test it myself. I suppose a yes or no answer will suffice, but if you have a more efficient way of doing this, that would be even better. :)</p>
