Home / Programming MCQs / PHP MCQs / Question
P
Q. What will be the output of the following PHP code ?
<?php $t = 5; if ($t-- == ++$t) { echo $t; } ?>
First $t = 5 is compared to and then decremented, then incremented and compared to $t = 5.
You must be Logged in to update hint/solution
Which version of PHP introduced the instance of keyword?
What will be the output of the following PHP code ?
In which year PHP was developed?
What will be the output of the following PHP code ?
The array index starts from ______?
What will be the output of the following PHP code ?
What will be the output of the following PHP code ?
What will be the output of the following PHP code ?
Which one of the following functions will convert a string to all uppercase?
Discusssion
Login to discuss.