PHP: using an environment variable as a reference to a local constant
<p>My code:</p>

<pre><code>const T = 'test';
const B = 'boat';

$const_var = getenv('FOO');
</code></pre>

<p>In my VirtualHost section, I have:</p>

<pre><code>SetEnv FOO T
</code></pre>

<p>Obviously $const_var evaluates to the character <code>T</code>.</p>

<p>What I want to do is to be able to use the value of local const T, by using the value of the environment variable as a reference. Is there a way to do that?</p>
