title: Breaking a long PHP statement into multiple lines in my source code editor
body: <pre><code>if ( ! ( is_page( 'login' ) || bp_is_register_page() || is_page( 'lost-password' ) || is_page( 'reset-password' ) || ( is_page( 'home' ) &amp;&amp; ! is_user_logged_in() ) ) ) {
  </code></pre>
  
  <p>What is the best way to break a PHP statement such as this into multiple lines in my source code editor? The main reason I want to do this is for easy reading and maintenance later down the line. I was thinking of something like:</p>
  
  <pre><code>if ( ! ( is_page( 'login' ) 
  || bp_is_register_page() 
  || is_page( 'lost-password' ) 
  || is_page( 'reset-password' ) 
  || ( is_page( 'home' ) 
  &amp;&amp; ! is_user_logged_in() ) ) ) {
  </code></pre>
  
  <p>But that doesn't look quite right to me. It doesn't look 'tidy'. Is there a standard way of breaking a long PHP statement over multiple lines?</p>