Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:57074 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 43621 invoked from network); 24 Dec 2011 11:09:40 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Dec 2011 11:09:40 -0000 Authentication-Results: pb1.pair.com smtp.mail=kassner@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=kassner@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.54 as permitted sender) X-PHP-List-Original-Sender: kassner@gmail.com X-Host-Fingerprint: 74.125.82.54 mail-ww0-f54.google.com Received: from [74.125.82.54] ([74.125.82.54:58623] helo=mail-ww0-f54.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E1/C8-16446-1F2B5FE4 for ; Sat, 24 Dec 2011 06:09:39 -0500 Received: by wgbdt13 with SMTP id dt13so16945579wgb.11 for ; Sat, 24 Dec 2011 03:09:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=QB7UwX7CIZY3ldF7/gly8YTuVV09Wv1VUSa7IRGidkY=; b=DtZD8MfMQqCevcgmecUx6saCuGm/JFO5PfDlcJXdOBrDrLXshkOr7D9dV8O496Gom6 1HJtJXWv8NRZtQHgV2yTJSLFr7jyeuWcUSSmA5j8bTeDquorv9XBkj3x/nEJcfYDFBlq Ykgn7boxZgM9VniQ4xXAfdAvOncu2mUPUaZAw= Received: by 10.227.206.6 with SMTP id fs6mr17769159wbb.20.1324724974488; Sat, 24 Dec 2011 03:09:34 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.105.212 with HTTP; Sat, 24 Dec 2011 03:09:14 -0800 (PST) In-Reply-To: References: Date: Sat, 24 Dec 2011 09:09:14 -0200 Message-ID: To: Laruence Cc: 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: kassner@gmail.com (Rafael Kassner) 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 > --=20 Atenciosamente, Rafael Kassner