php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #2341 expression evaluation - improvement
Submitted: 1999-09-21 12:00 UTC Modified: 2002-01-27 01:19 UTC
From: tsf at post dot cz Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0 OS: Linux
Private report: No CVE-ID: None
 [1999-09-21 12:00 UTC] tsf at post dot cz
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?

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-06-23 00:01 UTC] hholzgra at cvs dot php dot net
moved to feature requests
 [2001-02-10 13:47 UTC] jimw@php.net
refiled against 4.0.
 [2002-01-27 01:19 UTC] sterling@php.net
No way, the WTF is to high :)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 02:01:29 2024 UTC