title: PHP, how to pass func-get-args values to another function as list of arguments?
body: <p>I want to create a function (<code>my_function()</code>) getting unlimited number of arguments and passing it into another function (<code>call_another_function()</code>). </p>
  
  <pre><code>function my_function() {    
     another_function($arg1, $arg2, $arg3 ... $argN);    
  }
  </code></pre>
  
  <p>So, want to call <code>my_function(1,2,3,4,5)</code> and get calling <code>another_function(1,2,3,4,5)</code></p>
  
  <p>I know that I shoud use <code>func_get_args()</code> to get all function arguments as array, but I don't know how to pass this arguments to another function.</p>
  
  <p>Thank you.</p>