no reverse fetch of arrays is BAD!

From: Date: Wed, 23 Feb 2000 06:11:42 +0000
Subject: no reverse fetch of arrays is BAD!
Groups: php.version4 
Request: Send a blank email to php-version4+get-10689@lists.php.net to get a copy of this message
Hi, This is somewhat a feature request.... PHP should be able to: $x[] = 10; $x[] = 20; print $x[-1]; // 20, but PHP doesn't support this! But as I tested, it will accept negative index too! $x[-1] = 30; print $x[-1]; // 30, doesn't seem to affect any positive index Is that a feature?

« previous php.version4 (#10689) next »