This is in the changelog for pecl trader extension version 0.4.1. Previous versions used 2 arguments, now only one (see https://pecl.php.net/package-changelog.php?package=trader&release=0.4.1)
(PECL trader >= 0.2.0)
trader_ht_sine — Hilbert Transform - SineWave
$real
)
real
Array of real values.
Returns an array with calculated data or false on failure.
This is in the changelog for pecl trader extension version 0.4.1. Previous versions used 2 arguments, now only one (see https://pecl.php.net/package-changelog.php?package=trader&release=0.4.1)
Documentation is missing a value
$hts = trader_ht_sine($a['open'],$a['close']);