Basic PHP Which of the following is not valid PHP code? &$something $_10 $10_somethings $aVaR ${“MyVar”} &$something $_10 $10_somethings $aVaR ${“MyVar”} 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 1, 2 and 4 All of the mentioned. Only 1 2, 3 and 4 1, 2 and 4 All of the mentioned. Only 1 2, 3 and 4 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the looping statements is/are supported by PHP?1. for loop2. while loop3. do-while loop4. foreach loop All of the mentioned 1 and 2 None of the mentioned 1, 2 and 3 All of the mentioned 1 and 2 None of the mentioned 1, 2 and 3 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What is the value of $a and $b after the function call?function doSomething( &$arg ) {$return = $arg;$arg += 1;return $return;}$a = 3;$b = doSomething( $a ); Both are 4 a is 3 and b is 4 Both are 3 a is 4 and b is 3 Both are 4 a is 3 and b is 4 Both are 3 a is 4 and b is 3 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following code?function track() {static $count = 0;$count++;echo $count;}track();track();track(); 000 011 111 123 000 011 111 123 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP String values must be enclosed in ...... double quotes both A and B single quotes none of above double quotes both A and B single quotes none of above ANSWER DOWNLOAD EXAMIANS APP