On Tue, 10 Jul 2001, André Langhorst wrote:
> nah, you know waiting turns developers into killer-machines ;)
>
> something more to think about...
>
> $foo{${a$i}}
> $foo{$i++..$i}
> $foo{($moo ? $zoo:$boo)..$roo}
> $foo{super_function($moo)..substr($doh::zoo)-4}
>
> I state that is better to simply implement negative indices than
> allowing all these kinds of perlish code (what would follow if we'd
> allow substr()ingin in {}
> or should we allow all this sorts of statements and operators and functions?
I think we should not allow this, use substr() if you need more
functionality. Stick to very simple things with the {} stuff.
Derick
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]