Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<trader_sarexttrader_set_unstable_period>
^Trader FunctionsLast updated: Mon, 26 Oct 2026

trader_set_compat

(PECL trader >= 0.2.2)

trader_set_compat — Set compatibility mode

Description

function trader_set_compat(int $compatId): void

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

Parameters

compatId

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

Return Values

No value is returned.


<trader_sarexttrader_set_unstable_period>
^Trader FunctionsLast updated: Mon, 26 Oct 2026