OK I understand how it works and it works fine for me.
One parameter is set as array, a second example similar to the top
$params[] = array('name'=>'p_name', 'value'=>'p_value', 'hasMultiValues'=>0);
p_name is the name of the Parameter
p_value is the value for use in report
wonderful, what a day