Closed
Details
Details
Assignee
Unassigned
UnassignedReporter
Jacob Steelsmith
Jacob SteelsmithPriority
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
Affects versions
Created 16 May 2019 at 05:22
Updated 24 May 2019 at 12:42
Resolved 24 May 2019 at 12:42
See the gist below. Creating an array that contains structures using bracket notation behaves differently than using array(). The array with bracket notation is converted to a struct and when it is looped through only the key is output. You must loop through it using a collection. This does not occur in lucee 4. Using array() it works in both, but the documentation says to use the bracket notation.
https://trycf.com/gist/e5c344229e5ca4671b7166bff6cdcb3d/lucee5?theme=monokai