MCQs>IT & Programming>PHP>function output? Fn($a){ switch($a){ case $a>1: echo '1'; case $a===2: echo '2'; case $a>2: echo '3'; } } outputFn(2); What's the output of the outputFn function?
PHP MCQs
function outputFn($a){ switch($a){ case $a>1: echo "1"; case $a===2: echo "2"'; case $a>2: echo "3"; } } outputFn(2); What's the output of the outputFn function?
Answer
Correct Answer: 123
Explanation:
Note: This Question is unanswered, help us to find answer for this one