Re: PEAR CS poll
| From: | CirTap | Date: | Fri, 08 Oct 2004 12:16:11 +0000 |
| Subject: | Re: PEAR CS poll | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-33705@lists.php.net to get a copy of this message | ||
Ian Eure schrieb:
* String concatenation. 1) "foo" . "bar" 2) "foo"."bar" 3) other (please describe)+1
* Assigning by reference. 1) $foo = &$bar; 2) $foo =& $bar; 3) other (please describe)+2 both for readability reasons. and +1 to those who argue about whether to use "" or '' ... I agree that "" is useless in most cases (array keys), so *I* would write the above as 'foo' . 'bar', but *what type of quotes* was not the question ;-) CirTap