From:             student_vienna at aon dot at
Operating system: 
PHP version:      Irrelevant
PHP Bug Type:     Feature/Change Request
Bug description:  array access

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:
----------------
...


-- 
Edit bug report at http://bugs.php.net/?id=27935&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=27935&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=27935&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=27935&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=27935&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=27935&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=27935&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=27935&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=27935&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=27935&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=27935&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=27935&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=27935&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27935&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=27935&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=27935&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=27935&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27935&r=float

Reply via email to