trader_get_compat

(PECL trader >= 0.2.2)

trader_get_compatGet compatibility mode

Description

trader_get_compat(): int

Get compatibility mode which affects the way calculations are done by all the extension functions.

Parameters

This function has no parameters.

Return Values

Returns the compatibility mode id which can be identified by TRADER_COMPATIBILITY_* series of constants.