#43761 [Opn->Bgs]: fatal error: undefined functions: bcadd(), bcsub()
| From: | dsp@php.net | Date: | Sat, 05 Jan 2008 20:48:16 +0000 |
| Subject: | #43761 [Opn->Bgs]: fatal error: undefined functions: bcadd(), bcsub() | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-121064@lists.php.net to get a copy of this message | ||
ID: 43761
Updated by: dsp@php.net
Reported By: george dot girtsou at gmail dot com
-Status: Open
+Status: Bogus
Bug Type: BC math related
Operating System: Linux
PHP Version: 5.2.5
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
Please compile PHP with --enable-bcmath (and do a make distclean
before, if needed). BCmath is disabled by default (See Installation
section in the bcmath php.net manual pages)
Previous Comments:
------------------------------------------------------------------------
[2008-01-05 20:12:24] george dot girtsou at gmail dot com
Just found that the problem is with both bcadd() and bcsub() functions.
------------------------------------------------------------------------
[2008-01-05 19:49:15] george dot girtsou at gmail dot com
Description:
------------
I get an undefined bcadd() function error on PHP 5.2.5.
"Fatal error: Call to undefined function bcadd() in <myfile> on line
<line>"
On manual http://php.net/bcadd it says bcadd() function is
supported in
PHP 4 and PHP 5.
Thank you.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=43761&edit=1