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 1 All of the mentioned Both 1 and 2 Only 3 Only 1 All of the mentioned Both 1 and 2 Only 3 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP String values must be enclosed in ...... none of above double quotes both A and B single quotes none of above double quotes both A and B single quotes 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 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 The value of __NAMESPACE__ is a string that contains the current namespace name. In global, un-namespaced code, it contains . . . . . . an empty string 0 NULL gibberish value an empty string 0 NULL gibberish value ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$total = "25 students";$more = 10;$total = $total + $more;echo "$total"; 35 Error 25 students 35 students 35 Error 25 students 35 students ANSWER DOWNLOAD EXAMIANS APP