title: PHP Null coalescing operator usage
body: <p>Having this example code using the tertiary operator in PHP, I get the 'default value'.</p>
  <pre><code>$myObject = null; // I'm doing this for the example
  $result = $myObject ? $myObject-&gt;path() : 'default value';
  </code></pre>
  <p>However, when I try to use the null coalescing operator to do this, I get the error</p>
  <p><strong>Call to a member function path() on null</strong></p>
  <pre><code>$result = $myObject-&gt;path() ?? 'default value';
  </code></pre>
  <p>What am I doing wrong with the ?? operator?</p>