PHPTS:一键免费搭建 Nginx + PHP + MySQL 运行环境

trader_get_compat

(PECL trader >= 0.2.2)

trader_get_compatGet compatibility mode

说明

trader_get_compat ( void ) : int

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

返回值

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