|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17602 pow function no longer works
Submitted: 2002-06-04 18:36 UTC Modified: 2002-06-04 18:39 UTC
From: jn534 at hotmail dot com Assigned:
Status: Closed Package: Math related
PHP Version: 4.2.1 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: jn534 at hotmail dot com
New email:
PHP Version: OS:


 [2002-06-04 18:36 UTC] jn534 at hotmail dot com
When trying to use the pow function with any numerical values one gets the message:  Warning: Invalid argument(s) passed to pow().  Moreover, you don't get an answer back from the function.  This started happening only when we upgraded to PHP 4.2.1.  We have substituted exp(log(a)*b) for pow(a, b) in all our production code rather than go back to previous releases of PHP.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-04 18:39 UTC]
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at In case this was a documentation 
problem, the fix will show up soon at
In case this was a website problem, the change will show
up on the site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Sun Dec 04 02:05:53 2022 UTC