J
Q. What will be the output of the following PHP code ?
<?php $n = 1; while(++$n || --$n) { print $n; } ?>
As it is || operator the second expression is not evaluated and n is always incremented, in the first case to 1.
You must be Logged in to update hint/solution
Q. What will be the output of the following PHP code ?
Q. what is the output of below program?
Q. Which is/are the function(s) to check if the type of a variable is float?
Q. Which PHP function is used to get the random number?
Q. PHP is an example of _______ scripting language.
Q. What will be the output of the following PHP code ?
Q. A member function usually access to members of the _______ object only
Q. What will be the output of the following PHP code ?
Q. What will be the output of the following PHP code ?
Q. In the following PHP program, what is/are the properties?
Discusssion
Login to discuss.