combine

Combine an Array of item keys with an Array of item values.


Syntax


Parameters

  • Array keys - The Array containing the item values to use as item keys.
  • Array values - The Array containing the item values to use as item values.


Result

  • Array - An Array containing all of the item values of keys as item keys and all of the values of values as item values.

Returns an Array created by combining keys and values.

Boolean false will be returned if the number of items in keys is not equal to the number of items in values, or if either keys or values is empty.

ptpscript/functions/combine.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