Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:57075 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 44891 invoked from network); 24 Dec 2011 11:11:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Dec 2011 11:11:33 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.161.170 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.161.170 mail-gx0-f170.google.com Received: from [209.85.161.170] ([209.85.161.170:49975] helo=mail-gx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8E/09-16446-463B5FE4 for ; Sat, 24 Dec 2011 06:11:33 -0500 Received: by ggnv1 with SMTP id v1so7753219ggn.29 for ; Sat, 24 Dec 2011 03:11:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=i418vYYDBEX5Y9Yvj53/0NLQSBWAq2vIRU2xuJhtzNE=; b=o6QeYbM170B5hdaPbahmwgTP94l+mPfwkBrUaI9khEdfRZ9P4m5PilJi5I1huE2VKC QlTFs1w2JdDuTQuAbSwTr6p2sJ/oOJVTcppnipfJPvbGDKTC5IVQOUi/UW8X6rbijw5r 7l8RSDDOVm3CjhtGEsM0I3NUIoNq9OHdXBeRA= MIME-Version: 1.0 Received: by 10.236.128.197 with SMTP id f45mr25045924yhi.44.1324725090403; Sat, 24 Dec 2011 03:11:30 -0800 (PST) Received: by 10.146.204.6 with HTTP; Sat, 24 Dec 2011 03:11:30 -0800 (PST) In-Reply-To: References: Date: Sat, 24 Dec 2011 12:11:30 +0100 Message-ID: To: Rafael Kassner Cc: Laruence , PHP Internals Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [Proposal] Remove the tail ws in codes From: pierre.php@gmail.com (Pierre Joye) hi! Laruence refers to the PHP C source code and removing trailing white spaces is a good thing as it is part of our CS. Go ahead Laruence :) On Sat, Dec 24, 2011 at 12:09 PM, Rafael Kassner wrote: > 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 wrote: >> Hi: >> =A0 =A0I noted there are a lot of tail white spaces in our codes, >> >> =A0 =A0it is better to remove them all, =A0and we also should watch such= ws >> in furture. >> >> =A0 =A0a simple way to erase such ws in vim, use :%s /\s\+$//g >> >> thanks >> >> -- >> Laruence =A0Xinchen Hui >> http://www.laruence.com/ >> >> -- >> PHP Internals - PHP Runtime Development Mailing List >> To unsubscribe, visit: http://www.php.net/unsub.php >> > > > > -- > Atenciosamente, > Rafael Kassner > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > --=20 Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org