(PECL trader >= 0.2.2)
trader_get_compat — Get compatibility mode
Get compatibility mode which affects the way calculations are done by all the extension functions.
This function has no parameters.
Returns the compatibility mode id which can be identified by TRADER_COMPATIBILITY_* series of constants.