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 What does PHP stand for?1. Personal Home Page2. Hypertext Preprocessor3. Pretext Hypertext Processor4. Preprocessor Home Page Both 2 and 4 Both 1 and 3 Both 1 and 2 Only 2 Both 2 and 4 Both 1 and 3 Both 1 and 2 Only 2 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of following variables can be assigned a value to it?1. $3hello2. $_hello3. $this4. $This 2, 3 and 4 All of the mentioned Only 2 2 and 4 2, 3 and 4 All of the mentioned Only 2 2 and 4 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following php code?$num = "1";$num1 = "2";print $num+$num1; 3 1+2 Error 12 3 1+2 Error 12 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP If $a = 12 what will be returned when ($a == 12) ? 5 : 1 is executed? 12 1 5 Error 12 1 5 Error 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? 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 ANSWER DOWNLOAD EXAMIANS APP