Basic PHP Under what circumstance is it impossible to assign a default value to a parameter while declaring a function? When the parameter is Boolean When the function contains only one parameter When the parameter is being declared as passed by reference When the function is being declared as a member of a class Never When the parameter is Boolean When the function contains only one parameter When the parameter is being declared as passed by reference When the function is being declared as a member of a class Never ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which statement will output $x on the screen? echo “\$x”; echo “$x;”; echo “$$x”; echo “/$x”; echo “\$x”; echo “$x;”; echo “$$x”; echo “/$x”; ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following php statement/statements will store 111 in variable num?1. int $num = 111;2. int mum = 111;3. $num = 111;4. 111 = $num; Only 3 Only 1 All of the mentioned Both 1 and 2 Only 3 Only 1 All of the mentioned Both 1 and 2 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$score = 1234;$scoreboard = (array) $score;echo $scoreboard[0]; 1 2 1234 Error 1 2 1234 Error ANSWER DOWNLOAD EXAMIANS APP
Basic PHP If you echo a Boolean variable, the value FALSE displays as a .... and the value TRUE echoes as a ..... blank string, 1 empty variable, 1 blank string, 2 0, 1 blank string, 1 empty variable, 1 blank string, 2 0, 1 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$num = 10;echo 'What is her age? \n She is $num years old'; What is her age? She is 10 years old What is her age?n She is 10 years old What is her age? She is $num years old What is her age? n She is $num years old What is her age? She is 10 years old What is her age?n She is 10 years old What is her age? She is $num years old What is her age? n She is $num years old ANSWER DOWNLOAD EXAMIANS APP