Would calling methods with the the parameters on new lines be considered bad practice?
<p>I'm curious as to what the best practice for passing multiple parameters to a method is. Specifically, I'm wondering wether or not calling methods with comments and parameters on new lines would be considered bad practice or not.</p>

<pre><code>// get json from database
$json = $this-&gt;mysql-&gt;get_json_from_entries($this-&gt;table,   // data table
                                            $foo,           // column
                                            $bar,           // column value
                                            $this-&gt;limit);  // maximum rows to retrieve
</code></pre>

<p>as opposed to</p>

<pre><code>// get json from database
$json = $this-&gt;mysql-&gt;get_json_from_entries($this-&gt;table, $foo, $bar, $this-&gt;limit);
</code></pre>
