+4

Indentation for PHP broken

Bart Dabek 12 years ago 0

Case statements do not properly work with indentation... 


the line echo should be indented one tab over... also comments really mess with the indentation within php... 


switch (variable) {

case 'value':

   echo 'vv';

   break;


   default:

# code...

   break;

}