what is the output of 2^2 in php ?


Top Questions

The answer is 0 (Zero)

Important note

Everyone expected answer would be 4.But answer is zero.How it happened
only in php ?

The ^ operator is different in each language.In PHP ^
means the bitwise exlusive or of the two numbers.

www.w3answers.com

Post new comment

The content of this field is kept private and will not be shown publicly.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
1 + 8 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.

Check It !

Tweet It

W3 Updates

Stay informed on our latest news!

Syndicate content