title: Use Variable as Function Name in PHP
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/7213825/use-a-variable-to-define-a-php-function">Use a variable to define a PHP function</a>  </p>
  </blockquote>
  
  
  
  <p>Is there a way of using a variable as a function name.</p>
  
  <p>For example i have a variable</p>
  
  <pre><code>$varibaleA;
  </code></pre>
  
  <p>and I want to create a function i.e.</p>
  
  <pre><code>function $variableA() {
  }
  </code></pre>
  
  <p>so this function can be called later in the script. Does anyone know if this can be done?</p>
  
  <p>Thanks</p>