Deprecated: Optional parameter $keys declared before required parameter $cms_id is implicitly treated as a required parameter in /home/www/dev/work/class/blog/CmsKey.php on line 75

Deprecated: Creation of dynamic property lvesu\lvesu\controller\blog\php::$title is deprecated in /home/www/dev/work/website/lvesu/class/controller/blog/php.php on line 28

Deprecated: Creation of dynamic property lvesu\lvesu\controller\blog\php::$outlink is deprecated in /home/www/dev/work/website/lvesu/template/blog/cms/php.manual.tpl on line 2

Deprecated: Creation of dynamic property lvesu\lvesu\controller\blog\php::$status is deprecated in /home/www/dev/work/website/lvesu/template/blog/index.head.php on line 2
PHP - Manual: 运行时配置 - 互联网笔记

略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: 运行时配置

2025-05-13

运行时配置

这些函数的行为受 php.ini 中的设置影响。

Trader 配置选项
名字 默认 可修改范围 更新日志
trader.real_precision 3 INI_ALL Since trader 0.2.1
trader.real_round_mode HALF_DOWN INI_ALL Since trader 0.3.0

这是配置指令的简短说明。

trader.real_precision int

All the values in the returned arrays will be rounded to this precision. However the calculations inside TA-Lib happen with unrounded values.

trader.real_round_mode string

Controls the trader real rounding policy. Valid values are HALF_UP, HALF_DOWN, HALF_EVEN and HALF_ODD. The behaviour is identical to the round() function used with the mode argument.

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。

官方地址:https://www.php.net/manual/en/trader.configuration.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3