Basic PHP Which of following variables can be assigned a value to it?1. $3hello2. $_hello3. $this4. $This All of the mentioned 2, 3 and 4 2 and 4 Only 2 All of the mentioned 2, 3 and 4 2 and 4 Only 2 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
Basic PHP What will be the output of the following PHP code?$color = "maroon";$var = $color[2];echo "$var"; a r Error $var a r Error $var ANSWER DOWNLOAD EXAMIANS APP
Basic PHP If $a = 12 what will be returned when ($a == 12) ? 5 : 1 is executed? Error 5 12 1 Error 5 12 1 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$a = "clue";$a .= "get";echo "$a"; get clueget true false get clueget true false ANSWER DOWNLOAD EXAMIANS APP
Basic PHP PHP considers the following values as False constant NULL All of Above the one-character string 0 both A and B the integer 0 constant NULL All of Above the one-character string 0 both A and B the integer 0 ANSWER DOWNLOAD EXAMIANS APP