i have a function that accepts variable number of parameters (meaning I can put X around of parameters onto that function:
MSETNX key value [key value ...]
Both key and value has to be string. Say i have another array with the following structure:
$a = array( 'key1' => 'value1', 'key2' => 'value2', 'key3' => 'value3');
What's the most effective way to put $a as the parameters for the MSETNX function?
Thank you!