atatus_end_transaction() function is used to end a transaction. Before you start any new transactions, you will have to end the transaction using this function.

Compatibility

Compatible with all PHP agent versions.

Syntax

Parameter

atatus_end_transaction() does not accept any parameters.

Example

In the following example, we stop a current transaction using the function.

See also