Re: coding standards - draft
| From: | Gabor Hojtsy | Date: | Fri, 28 Dec 2001 18:38:07 +0000 |
| Subject: | Re: coding standards - draft | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969340430@lists.php.net to get a copy of this message | ||
> +1 for not worrying about strings this way, either is okay. If I were to
> pick one (which is imho a bad idea) it be using "". But, this is not
> always the case, depends. Now, I believe the bulk of Jan's comment was
> regarding arrays here, which was:
>
> 'string '. $arr['key'] .' blah';
>
> And I believe Goba desires:
>
> "string {$arr['key']} blah"
I talked about ${} and not {$}. ${} also works, at
least in some cases. And it is in the docs. Is this
an inconsistency in PHP?
Goba