What is tab injection?
Reading on the zend framework coding standard I found this phrase:
开发者_如何学CEditors should be configured to treat tabs as spaces in order to prevent injection of tab characters into the source code.
And my question is: what is tab injection? I searched google but I did find this phrase in a lot of standards, so I 'm not really sure what it refers to.
It's nothing special, just a fancy way of saying "we don't want tabs in our source code".
As stated on the link you provide, Zend coding standards mandate that whitespace in source files must not include tabs -- all indentation must be done with spaces.
"Tab injection" means the insertion of a tab as an indentation character.
精彩评论