PHP - assigning values in a function argument - good practice?
<p>Setting variable values inside a function call - I don't see this a lot, is this considered good practice?</p>

<pre><code>function myUpdate($status){
    ...
}

myUpdate($status = 'live');
</code></pre>

<p>I personally like it because it's more descriptive. I see it more frequently the other way around, ie., assigning a default value in the function definition.</p>
