php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #27935 array access
Submitted: 2004-04-09 13:59 UTC Modified: 2004-04-09 14:25 UTC
From: student_vienna at aon dot at Assigned:
Status: Wont fix Package: Feature/Change Request
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: student_vienna at aon dot at
New email:
PHP Version: OS:

 

 [2004-04-09 13:59 UTC] student_vienna at aon dot at
Description:
------------
Change request...

There is a new language named 'ruby'
(http://www.ruby-lang.org).

The syntax of this language is beautiful.

To acces the last element in an array it is
possible to write:
'$arr[-1]'

I think PHP should use some nice (syntax)
features of this language.


daniel

Reproduce code:
---------------
none - cr

Expected result:
----------------
...


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-04-09 14:25 UTC] derick@php.net
We're not ruby and this was proposed before (and denied).
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 27 23:01:30 2024 UTC