title: php ?: operator syntax error (T_RETURN)
body: <p>I get an error:</p>
  
  <blockquote>
    <p>Parse error: syntax error, unexpected 'return' (T_RETURN)</p>
  </blockquote>
  
  <p><strong>Can i correct my code without IF statement?</strong></p>
  
  <pre><code>function isValid(){
      return false;
  }
  function foo(){
      isValid() ?: return false; //i dont want to return true yet!
  
      //another validations here that can return false
      isValid2() ?: return false;
      isValid3() ?: return false;
  
      return true;
  }
  
  var_dump(foo());
  </code></pre>