Re: Re: Cosmetics to DataObjetc.php
| From: | Jon Parise | Date: | Wed, 20 Nov 2002 02:02:04 +0000 |
| Subject: | Re: Re: Cosmetics to DataObjetc.php | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-10946@lists.php.net to get a copy of this message | ||
On Wed, Nov 20, 2002 at 01:00:51AM +0100, Alan Knowles wrote:
> >I did cosmetics, phpdoc and replacing of " by ' where " is not necessary.
>
> Does anybody remember the logic behind using '' rather than "" - was it
> due to the inefficient opcodes in the zend engine (that have now been
> fixed?)
Yes, that was the primary reason. I also prefer '' because it makes
me think "string literal" instead of "interpolated string"; I'm
generally after the former, so double-quoted exceptions stand out.
--
Jon Parise (jon@php.net) :: The PHP Project (http://www.php.net/)