Basic PHP What will be the output of the following PHP code?$total = "25 students";$more = 10;$total = $total + $more;echo "$total"; 35 students 25 students Error 35 35 students 25 students Error 35 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following php code?$num = 1;$num1 = 2;print $num . "+". $num1; 1.+.2 3 1+2 Error 1.+.2 3 1+2 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 ..... empty variable, 1 blank string, 1 0, 1 blank string, 2 empty variable, 1 blank string, 1 0, 1 blank string, 2 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP You can test the type of any variable with the ..... function. settype() showtype() gettype() whattype() settype() showtype() gettype() whattype() 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?n She is 10 years old What is her age? n She is $num years old What is her age? 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? n She is $num years old What is her age? She is $num years old What is her age? She is 10 years old ANSWER DOWNLOAD EXAMIANS APP
Basic PHP All classes in the same namespace or subnamespace don’t have to the declared in the same PHP file. TRUE FALSE TRUE FALSE ANSWER DOWNLOAD EXAMIANS APP