title: Get constant value by variable value
body: <p>I need to fetch a constant value. The constant name is stored in a variable.</p>
  
  <pre><code>&lt;?php
  
  define('SomeConstant', 12345);
  
  $variable = 'SomeConstant';
  
  ?&gt;
  </code></pre>
  
  <p>How would I echo "12345" using the variable?</p>