Spaces, line breaks, tabs ; are they affect server performance?
<p>Spaces, line breaks, tabs ; are they affect server performance ?</p>

<p>I'm  in the road of learning PHP and before I go further with my current coding style, i want to make sure :
  Are line breaks and spaces affect the performance of the server ? Usually, I always add them for readibility. for example in the following code :</p>

<pre><code>import('something') ;
$var = 'A' ;
$varb = 'B' ;
switch($var) {
  case 'A' :
    doSomething() ;
    doAnotherThing() ;
    break ;
}
if ($var == $varb) { header('Location: somewhere.php') ; }
</code></pre>

<p>Summary, </p>

<ol>
<li>I add space before a semicolon</li>
<li>I add space after and before variable value assignment and comparison</li>
<li>I add space between ) and {</li>
<li>Usually I add a line break after { if the code following it consist of multiple statements.</li>
<li>Inside the curly bracket, I always start with a space before the first statement and ended it with another space after the last statement's semicolon</li>
<li>I always give a 2-space-width tab for every child elements</li>
<li>I always add a space after 'Location:' inside header function.</li>
<li>I always add space before semicolon for each case condition</li>
</ol>

<p>This style is cool for me, I like it, its tidy and it makes me easier to debug, what i wonder is, will this kind of coding style hurt/burden the system ? Will it makes server slower by re-formatting my codes ? So far i got no formatting error.</p>

<p>Thank you for your kind answers</p>
