Re: [Proposal] Remove the tail ws in codes
| From: | Rafael Kassner | Date: | Sat, 24 Dec 2011 11:09:14 +0000 |
| Subject: | Re: [Proposal] Remove the tail ws in codes | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-57074@lists.php.net to get a copy of this message | ||
AFAIK, PHP files are transformed in bytecode before the execution, so
white spaces will not interfere in nothing except more time to
transfer the file over SFTP.
It's pretty good to implement on our IDEs (and a lot of them is doing
it), once trailing white spaces are annoying while we are developing.
On Sat, Dec 24, 2011 at 4:21 AM, Laruence <laruence@php.net> wrote:
> Hi:
> I noted there are a lot of tail white spaces in our codes,
>
> it is better to remove them all, and we also should watch such ws
> in furture.
>
> a simple way to erase such ws in vim, use :%s /\s\+$//g
>
> thanks
>
> --
> Laruence Xinchen Hui
> http://www.laruence.com/
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--
Atenciosamente,
Rafael Kassner