ID:          40729
 Updated by:  [EMAIL PROTECTED]
 Reported By: dkrysiak at o2 dot pl
-Status:      Open
+Status:      Closed
 Bug Type:    Documentation problem
 PHP Version: Irrelevant
 New Comment:

This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation
better.

"PHP cannot handle negative exps."


Previous Comments:
------------------------------------------------------------------------

[2007-03-05 14:46:25] dkrysiak at o2 dot pl

As my first comment...
Maybe person which has created the documentation, wanted to write about
exponent ($exp) parameter - not about a base parameter :-)

------------------------------------------------------------------------

[2007-03-05 14:39:19] dkrysiak at o2 dot pl

Description:
------------
http://pl.php.net/manual/en/function.pow.php

There is a contradiction in this documentation page.

The man page states:
"Note:  PHP cannot handle negative bases."
but few lines later such an example occurrs:
<?php
echo pow(-1, 20); // 1
?>
Decide please :-)



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=40729&edit=1

Reply via email to