properties as array
<p>I want to do something like this without using extra variables:</p>

<pre><code>class className {
  public static function func(){
    return array('true','val2');
  }
}

if(className::func()[0]) {
  echo 'doğru';
} else {
  echo 'Yanlış';
}
</code></pre>
