> +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