title: Declare Array Inside Function Call PHP
body: <p>Hey just wondering if there is a simpler way to declare an array inside a function call besides array()</p>
  
  <pre><code>$setup = new setupPage();
  $setup-&gt;setup(array(
                     type =&gt; "static",
                     size =&gt; 350
                   ));
  
  class setupPage {
      public function setup($config){
          echo $config[size] . $config[type];
      }
  }
  </code></pre>
  
  <p>Thanks :D</p>