Negative Index array

Description

In ACF2018, implements negative index to the array it support for indices from the end in an array. Lucee supports only for positive index.
Example

Note: This is working for only showing index. If we set animals[-1] = "kk", it throw error in ACF2018.

Activity

Show:

Pothys - MitrahSoft 3 February 2021 at 11:00

This task was completed from lucee version 5.3. Now we can use a negative index for array value. All negative indexes are works fine except for the least min length. If we use arr[ -6 ] means lucee throws an error. ACF returns the first index value.

Example:

So, I've created a separate ticket for that

Fixed

Details

Assignee

Reporter

Labels

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Fix versions

Priority

Created 26 April 2018 at 16:00
Updated 3 February 2021 at 11:05
Resolved 3 February 2021 at 11:05