PHP - Manual: ibase_rollback_ret
2024-12-21
(PHP 5, PHP 7 < 7.4.0)
ibase_rollback_ret — Roll back a transaction without closing it
$link_or_trans_identifier
= null
): boolRolls back a transaction without closing it.
link_or_trans_identifier
If called without an argument, this function rolls back the default transaction of the default link. If the argument is a connection identifier, the default transaction of the corresponding connection will be rolled back. If the argument is a transaction identifier, the corresponding transaction will be rolled back. The transaction context will be retained, so statements executed from within this transaction will not be invalidated.
成功时返回 true
, 或者在失败时返回 false
。
官方地址:https://www.php.net/manual/en/function.ibase-rollback-ret.php