开发者

What is tab injection?

Reading on the zend framework coding standard I found this phrase:

开发者_如何学C

Editors 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜