// Build the query string
$sql =
sprintf( 'BEGIN %s (' .
substr(str_repeat(',%s',
count($params)), 1
) . '); END;',
$procedureName,
...
array_map(static fn ($row) =>
$row['name'
],
$params) );
$this->resetStmtId = false;
$this->stmtId =
oci_parse($this->connID,
$sql);
$this->
bindParams($params);
$result =
$this->
query($sql);
$this->resetStmtId = true;
return $result;
} /**
* Bind parameters
*
* @param array $params
*
* @return void
*/