Consider following code snippet:
echo '['..2.']';
What will be the output of the code above?
Explanation
Second .(dot) and 2 = 0.2 number. First and Third . (dot) concatenate operators.
PHP
PHP Quiz
Start Quiz

or Read more about PHP Quiz

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback