Function displayBindings was showing an Array to String conversion error if a binding was an array, so I added logic to catch such bindings.
The call to bindArray was also throwing an error as $maxLength defaulted to -1, but the call to oci_bind_array_by_name within bindArray needs an array length parameter greater than zero.
Function
displayBindings
was showing an Array to String conversion error if a binding was an array, so I added logic to catch such bindings.The call to
bindArray
was also throwing an error as$maxLength
defaulted to -1, but the call tooci_bind_array_by_name
withinbindArray
needs an array length parameter greater than zero.