ocirollback

(PHP 3>= 3.0.7, PHP 4 , PHP 5)

ocirollback -- Rolls back outstanding transactions

Description

bool ocirollback ( resource connection )

ocirollback() rolls back all outstanding statements for Oracle connection connection. 成功回傳TRUE失敗回傳FALSE

注: This function was renamed to oci_rollback() after PHP >= 5.0.0. For downward compatibility ocirollback() can also be used. This is deprecated, however.