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?$a = "clue";$a .= "get";echo "$a"; false get clueget true false get clueget true ANSWER DOWNLOAD EXAMIANS APP
Basic PHP We can use _________ to comment a single line?1. /?2. //3. #4. /* */ Both 2 and 4 Only 2 1, 3 and 4 2, 3 and 4 Both 2 and 4 Only 2 1, 3 and 4 2, 3 and 4 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP PHP considers the following values as False both A and B All of Above constant NULL the integer 0 the one-character string 0 both A and B All of Above constant NULL the integer 0 the one-character string 0 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$color = "maroon";$var = $color[2];echo "$var"; r $var Error a r $var Error a 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 $num years old What is her age?n She is 10 years old What is her age? 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?n She is 10 years old What is her age? She is 10 years old What is her age? She is $num years old ANSWER DOWNLOAD EXAMIANS APP