Skapa en cursor med oci_new_cursor, bind med OCI_B_CURSOR och kör både statement och cursor.
$cursor = oci_new_cursor($conn);
oci_bind_by_name($stmt, ':OUTPUT_CUR', $cursor, -1, OCI_B_CURSOR);
oci_execute($stmt);
oci_execute($cursor);
Skapa en cursor med oci_new_cursor, bind med OCI_B_CURSOR och kör både statement och cursor.
$cursor = oci_new_cursor($conn);
oci_bind_by_name($stmt, ':OUTPUT_CUR', $cursor, -1, OCI_B_CURSOR);
oci_execute($stmt);
oci_execute($cursor);