If one of the parameters is an array, (eg. array of ints being passed to a stored procedure), it must be denoted as a set within the array, not php array notation.
eg: var_dump output of 2 parms an integer and array of int
aaa is: Array
(
[0] => 1
[1] => {2,3}
)
you do not want:
bbb is: Array
(
[0] => 1
[1] => Array
(
[0] => 2
[1] => 3
)
)