开发者

What is tab injection?

开发者 https://www.devze.com 2023-04-05 01:21 出处:网络
Reading on the zend framework coding standard I found this phrase: 开发者_如何学CEditors should be configured to treat tabs as spaces

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

精彩评论

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

关注公众号