Re: [PHP-LANG] PHP/FI 2 legacy
[email protected] (Andrei Zmievski)
| Newsgroups | php.lang |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 27 Nov 2000, Andi Gutmans wrote:
> It works but it acts exactly the way $string[n] works for now. What I will
> want is for {} to be ONLY string specific and [] only array specific. The
> first needs a patch from me and the second is an incompatibility so I doubt
> we'll be changing this very soon.
> So the result will be that $string{n} will convert $string to a string and
> then always treat it as a string *even* if it's an array. It's the right
> way to separate these.
> If I didn't explain it well let me know.
No, I understand the distinction. I guess I just want my scripts to keep
working with {n} syntax.
-Andrei
* Reality isn't all it's cracked up to be. *