Date: 09/21/99
- Next message: lorenzo <email protected>: "[PHP-DEV] Bug #2342: Missing ssl CLIENT functions"
- Previous message: tsf <email protected>: "[PHP-DEV] Bug #2341: expression evaluation - improvement"
- Next in thread: Andrei Zmievski: "Re: [PHP-DEV] Bug #2341: expression evaluation - improvement"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
tsf <email protected> wrote:
> From: tsf <email protected>
> Operating system: Linux
> PHP version: 3.0.12
> PHP Bug Type: Parser error
> Bug description: expression evaluation - improvement
>
> I think it'd be nice if I could use e.g.
>
> echo array("Su","Mo","Tu","We","Th","Fr","Sa")[$i];
>
> anyway, it throws out a parser error in 3.0.12
>
> is there any chance this would change?
Why do you need this unusual syntax? Just assign the array to a variable and
simplify it.
-Andrei
* The future has arrived, it's just not evenly distributed. -W. Gibson *
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: lorenzo <email protected>: "[PHP-DEV] Bug #2342: Missing ssl CLIENT functions"
- Previous message: tsf <email protected>: "[PHP-DEV] Bug #2341: expression evaluation - improvement"
- Next in thread: Andrei Zmievski: "Re: [PHP-DEV] Bug #2341: expression evaluation - improvement"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

