array [function]
array( ... )
returns an array, containing the arguments
- similar to the array literal, though somewhat limited (number of arguments is limited to 255 in the language, but not the API/serialization system)
array( "5", 6, 7.0 ) // same as ["5",6,7.0]
- the implementation of
arrayis an object with __call metamethod. New methods can be added toarray:
function array.join( separator )
{
return string_implode( this, separator );
} 