title: In which order are nested short hand assignments evaluated?
body: <p>Trying to parse command line options I've found the following code throws a notice:</p>
  
  <pre><code>$options = getopt('p:', array('path:'));
  $options['p'] = 'some file path';
  $path = isset($options['p']) ? $options['p'] : isset($options['path']) ? $options['path'] : null;
  </code></pre>
  
  <p>Notice:</p>
  
  <pre><code>Notice: Undefined index: path
  </code></pre>
  
  <p>Why aren't the assigneds evaluated left-to-right starting with the <code>isset($options['p'])</code>?</p>