|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16944 pow
Submitted: 2002-05-01 10:07 UTC Modified: 2002-05-01 12:04 UTC
From: johnl at stihealthcare dot com Assigned:
Status: Closed Package: *Math Functions
PHP Version: 4.2.0 OS: linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: johnl at stihealthcare dot com
New email:
PHP Version: OS:


 [2002-05-01 10:07 UTC] johnl at stihealthcare dot com
pow works fine before 4.20, but in 4.20 it broke -
Warning: Invalid argument(s) passed to pow() 

It works pow(111111,2) but breaks if
I passed pow($N, 2), where $N=111111.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-01 12:04 UTC]
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at

in 4.2.0, pow() doesn't handle strings as arguments, so you may need to cast the arguments you're passing in.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Jun 14 12:01:29 2024 UTC