On Tue, Jun 14, 2011 at 12:49 PM, Ford, Mike <m.f...@leedsmet.ac.uk> wrote:

> Looking to fix a doc bug report or two this morning, I came
> across http://bugs.php.net/53614 referring to the ${...}
> interpolation syntax. I recall when I first started with PHP,
> this pretty much had equal status with {$...}, but has fallen
> away in the documentation to the extent that there's now only
> a single isolated example of it, with no descriptive text at
> all. I was really surprised at how low this syntax has fallen,
> with even one @php.net responder being surprised that it worked
> at all.
>
> So:
>
> - AFAIR, this usage has not been deprecated - is that correct?
>
> - If not, should the manual make more prominent mention of it?
>
> - ... and if so how? A passing mention? A few examples? Or
>  given full equality?
>
> - Or should even the one mention be removed and the whole thing
>  just quietly dropped?
>
> I think, given the current situation, I'd be inclined to just
> drop the one passing example and have done with it, but I don't
> think I have the right to make such a decision unilaterally.
> However, I'm more than happy to implement whatever the consensus
> decides.
>
>
imo we shouldn't drop the documentation for something what works as
intended.
so I think we should ask what others on the internals thinks about this.
if ${foo} is intended(which I think it is) and will remain supported, then
we should add more documentation about, not remove it.
this would of course require to rewrite the description of the "Complex
(curly) syntax" block to match the actual functionality.

Tyrael

Reply via email to