PHP, Call to undefined function bccomp [duplicate]

断了今生、忘了曾经 提交于 2019-12-02 02:03:55

bccomp() function belongs to BCMath package; if it's undefined, apparently, there's something wrong with the package itself. To be more specific, it's not enabled (as since PHP 4.0.4, libbcmath is bundled with PHP).

Quoting the docs:

These functions are only available if PHP was configured with --enable-bcmath.

The Windows version of PHP has built-in support for this extension. You do not need to load any additional extensions in order to use these functions.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!