Quantcast
Channel: Lucee Dev - Latest topics
Viewing all articles
Browse latest Browse all 473

structKeyArray()

$
0
0

The Lucee documentation states the following for structKeyArray():

For unsorted structs, Adobe returns a text sorted Array of keys, for performance reasons, Lucee simply returns the raw sort order

This statement is NOT correct.

Using the built-in cftry portion of the Lucee Docs

Shows that the returned array is indeed, sorted.

(Lucee 4.5, 5.4 and 6 - all return a sorted array.)

Either the documentation is wrong - or Lucee does not correctly implement its own spec.

3 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 473

Trending Articles