Re: String values CS Coding Standards

From: Date: Sat, 22 Jan 2005 12:05:09 +0000
Subject: Re: String values CS Coding Standards
References: 1 2 3  Groups: php.pear.qa 
Request: Send a blank email to pear-qa+get-2367@lists.php.net to get a copy of this message
Hi Martin Jansen, you wrote:
On Wed Jan 19, 2005 at 09:2040AM +0800, Alan Knowles wrote:
the speed issue between ' and " should have been pretty much removed now, even though I've been using it for a long while, I'd be tempted to suggest starting to follow other language standards: eg. 'x' for single characters "long strings" enclosed in double quotes.
If the performance impact is negligent, then why not "allow" both formats? Only the usage should be conistent throughout a package then. It's exactly what everybody seem to agree on.
Alan was just giving as example, he could keep his old C-hacker habits ;) I don't really understand consistant, here. Do you mean only single or double within one pckg ? I want both for fixed contents and expanded ones. Just to recall, the thread deals with *bracketing variables to expand in double quoted strings*. à+ -- bertrand Gugger (toggg) >- Martin > > >

« previous php.pear.qa (#2367) next »