access data in return value
<p>I have the line</p>

<pre><code>if( getdate($start_time)['hours'] == 0 ){
</code></pre>

<p>and I am getting</p>

<pre><code>Parse error: syntax error, unexpected '['
</code></pre>

<p>But if I change the line to</p>

<pre><code>$start_time_as_date = getdate($start_time);
if( $start_time_as_date['hours'] == 0 ){
</code></pre>

<p>I don't get an error.  Do I always have to save an array to a variable to access its data?  Or is there some way to make the first line work?</p>
