title: Use PHP value as function name to get dynamic function
body: <p>Ok, it would be pretty long to explain why I need this, but the reality is that..., I need this to work that way. I need to actually use a dynamic PHP value (a kind of unique string in my database) as a function name, but I can't get it to work as I would like.</p>
  
  <p>Here is a little snippet of what I would like to do;</p>
  
  <pre><code>$dynamic_value = "t7duHJH783js7js83"; //from Database, unique ID
  function file_.$dynamic_value.(){ ... }
  </code></pre>
  
  <p>So here, the function name would be like this;</p>
  
  <pre><code>function file_t7duHJH783js7js83(){ ... }
  </code></pre>
  
  <p>I'm in a while loop, there could be 3 results or 35, so naming them in a unique manner like this will make the code work inside of ceasing to work after the first row because the function name is simply <strong>file_</strong> instead of <strong>file_t7duHJH783js7js83</strong>, by repeating itself, it stops.</p>
  
  <p>I know, some people would say don't do this, but I have no choice, this is the only way for me to make my script work and it would be tedious to explain.</p>
  
  <p>Thanks a lot for your help and comprehension.</p>