php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18364 [chm] bug on function.fread.html
Submitted: 2002-07-16 01:23 UTC Modified: 2002-07-16 01:54 UTC
From: asyka at kimo dot com dot tw Assigned:
Status: Closed Package: *Math Functions
PHP Version: 4.2.1 OS: windows
Private report: No CVE-ID: None
 [2002-07-16 01:23 UTC] asyka at kimo dot com dot tw
I have found a bug on page function.fread.html
[chm date: 2002-04-20]...
in php 4.2.1 pow function
if code is following will show correct result
$a=1;
$b=0.8;
echo pow($a,$b);

btw, if ($a or $b) from db query, will show wrang message and show incorrect result

i will test it, may translate ($a or $b) to math type will be show correct, may be variable type problem in php 4.2.1 pow function

above 2 examples will not't show wrang message and show correct result in php 4.1.2

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-16 01:54 UTC] derick@php.net
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/. In case this was a documentation 
problem, the fix will show up soon at http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net 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: Sat Aug 13 18:05:44 2022 UTC