Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


Code Block
// Short description on what is being achieved when the if statement is true
if ( $foo > 10 &&
     $bar == "X" &&
      ( $baz == "Y" ||
         $qux == "Z" ),
 
                // description of what the statement is doing
            do (
                    Statement 1
                    do (
               Statement 1
        ),
 
// else, description of what the statement is doing
    Statement 2
)


...