Basic PHP What will be the output of the following PHP code?$color = "maroon";$var = $color[2];echo "$var"; $var a Error r $var a Error r ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What does PHP stand for?1. Personal Home Page2. Hypertext Preprocessor3. Pretext Hypertext Processor4. Preprocessor Home Page Only 2 Both 2 and 4 Both 1 and 2 Both 1 and 3 Only 2 Both 2 and 4 Both 1 and 2 Both 1 and 3 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP strval() Accepts a value and converts it into an string dictionary Accepts a value and converts it into string equivalent Accepts a value and converts it into a string array None of above Accepts a value and converts it into an string dictionary Accepts a value and converts it into string equivalent Accepts a value and converts it into a string array None of above ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following is not valid PHP code? $10_somethings $aVaR &$something $_10 ${“MyVar”} $10_somethings $aVaR &$something $_10 ${“MyVar”} ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the below symbols is a newline character? \n /r /n \r \n /r /n \r 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"; Error 25 students 35 35 students Error 25 students 35 35 students ANSWER DOWNLOAD EXAMIANS APP