Basic PHP What will be the output of the following PHP code?$color = "maroon";$var = $color[2];echo "$var"; r a $var Error r a $var Error 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 gibberish value NULL an empty string 0 gibberish value NULL 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 $num years old 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? She is $num years old 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 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following is/are a PHP code editor?1. Notepad2. Notepad++3. Adobe Dreamweaver4. PDT Only 4 1, 2 and 3 Only 3 All of the mentioned Only 4 1, 2 and 3 Only 3 All of the mentioned ANSWER DOWNLOAD EXAMIANS APP
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; All of the mentioned Both 1 and 2 Only 1 Only 3 All of the mentioned Both 1 and 2 Only 1 Only 3 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP It is possible to create a hierarchy of namespaces in PHP. TRUE FALSE TRUE FALSE ANSWER DOWNLOAD EXAMIANS APP