Basic PHP What will be the output of the following php code?$num = 1;$num1 = 2;print $num . "+". $num1; 3 1.+.2 1+2 Error 3 1.+.2 1+2 Error ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Variables always start with a ........ in PHP Euro-sign Dollar-sign Yen-sign Pond-sign Euro-sign Dollar-sign Yen-sign Pond-sign ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Within a namespace, for accessing the built-in PHP classes you can prefix the class name with a . . . . . and let PHP look in the global class list. asterix backslash ampersand percent asterix backslash ampersand percent ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the conditional statements is/are supported by PHP?1. if statements2. if-else statements3. if-elseif statements4. switch statements Only 1 All of the mentioned. 2, 3 and 4 1, 2 and 4 Only 1 All of the mentioned. 2, 3 and 4 1, 2 and 4 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Under what circumstance is it impossible to assign a default value to a parameter while declaring a function? When the parameter is Boolean When the function is being declared as a member of a class Never When the function contains only one parameter When the parameter is being declared as passed by reference When the parameter is Boolean When the function is being declared as a member of a class Never When the function contains only one parameter When the parameter is being declared as passed by reference ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following is not valid PHP code? &$something $aVaR ${“MyVar”} $10_somethings $_10 &$something $aVaR ${“MyVar”} $10_somethings $_10 ANSWER DOWNLOAD EXAMIANS APP