Inverts the items of an Array.



  • Array subject - The Array to invert.


  • Array - An Array containing all the item values of subject as item keys, and the corresponding keys as values. Duplicate values will replace one another. Only item values that are valid keys will be inverted.

Returns subject with item keys and values exchanged.

ptpscript/functions/invert.txt · Last modified: 2007/01/24 10:15
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki