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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
30 + 43 = ?
Subscribe to this entry?

 
 [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: Thu May 02 08:01:32 2024 UTC