Consider following code snippet:
$t = true.false;
echo $t;
What will printed out?
Explanation
Using "." we convert boolean true to 1, and 0 to to empty string.

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Keep exploring
PHP quizzes
Cosmo
Sign Up Now
or Subscribe for future quizzes