Created
August 22, 2012 13:25
-
-
Save leewillis77/3425519 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Mixed indentation examples: | |
foreach ( $foo as $bar ) { | |
$foo = array ( "this" => "that", | |
"them" => "three" ); | |
$sql = "SELECT * | |
FROM foo | |
WHERE y = z"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The indent before $foo on line 5 is a TAB, line 6 starts with a TAB, then 15 spaces.
The indent before $sql on line 8 is a TAB, line 9, and 10 are both a single TAB, followed by the correct number of spaces to line up as desired [Yes my SQL indentation style is fairly non-standard!]