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

trader_set_compat

(PECL trader >= 0.2.2)

trader_set_compatSet compatibility mode

说明

trader_set_compat ( int $compatId ) : void

Set compatibility mode which will affect the way calculations are done by all the extension functions.

参数

compatId

Compatibility Id. TRADER_COMPATIBILITY_* series of constants should be used.

返回值

没有返回值。