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_floortrader_get_unstable_period>
^Trader FunctionsLast updated: Mon, 26 Oct 2026

trader_get_compat

(PECL trader >= 0.2.2)

trader_get_compat — Get compatibility mode

Description

function 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.


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