ID: 13756
Updated by: jeroen
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Feature/Change Request
Operating System: n/a
PHP Version: 4.0.6
New Comment:

I proposed that earlier (along with ^^) [ZendEnginge ML, june 27th & july 3rd].

Anyway, I think it should be added, there is simply no power operator now, and pow() 
is both a bit bugly and overloaded (both ^^ and ** at the same time).

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

[2001-10-19 11:24:28] [EMAIL PROTECTED]

** is Pascal, not C

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

[2001-10-19 10:36:03] [EMAIL PROTECTED]

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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to