Bug #13756 Updated: exponential ** operator
ID: 13756
Updated by: hholzgra
Reported By: sander@php.net
Status: Open
Bug Type: Feature/Change Request
Operating System: n/a
PHP Version: 4.0.6
New Comment:
** is Pascal, not C
Previous Comments:
------------------------------------------------------------------------
[2001-10-19 10:36:03] sander@php.net
It would be nice to have an exponential operator. ** would be a logical choice, just like in C.
Example:
echo 2**3; // prints 8
I know we have pow(), but an operator for this would be nice...
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=13756&edit=1
Thread (3 messages)