Zend
200-530 · Question #433
Consider the following script: <html> <head> <title> This is a test script. </title> </head> <body> <?php $x=1; $x=$x >> 32; echo $x * pow (2,4); ?> </body> </html> What will be the output of the…
The correct answer is D. 0. See the full explanation below for the reasoning.
Question
Consider the following script: <html> <head> <title> This is a test script. </title> </head> <body> <?php $x=1; $x=$x >> 32; echo $x * pow (2,4); ?> </body> </html> What will be the output of the above script on a 32-bit user machine?
Options
- A-1
- B512
- C64
- D0
How the community answered
(23 responses)- A13% (3)
- B9% (2)
- C4% (1)
- D74% (17)
Community Discussion
No community discussion yet for this question.