php8.5
Home/ Manual/ trader / functions/ trader_set_compat

trader_set_compat

PHP function Edit on GitHub ✎

(PECL trader >= 0.2.2)

Set compatibility mode

Description

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

Void

Source: reference/trader/functions/trader-set-compat.xml · from the official PHP manual (php/doc-en)