title: Creating a dynamic class instance programmatically in PHP with variable arguments?
body: <p>I've some code that creates ad instance with a dynamic class (i.e. from a variable):</p>
  
  <pre><code>$instance = new $myClass();
  </code></pre>
  
  <p>Since the constructor has different argument count depending on <code>$myClass</code> value, How do I pass a variable list of arguments to the new statement? Is it possible?</p>