Re: [PHP-LANG] PHP/FI 2 legacy

[email protected] (Andi Gutmans)
Newsgroups php.lang
Message-ID <[email protected]>
At 11:14 27/11/00 -0600, Andrei Zmievski wrote:
>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.

They will as long as you're only using {n} for strings. And I encourage to 
use this notation for strings.

Andi
---
Andi Gutmans <[email protected]>
http://www.zend.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.