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 Both are 3 a is 4 and b is 3 a is 3 and b is 4 Both are 4 Both are 3 a is 4 and b is 3 a is 3 and b is 4 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 35 students 25 students 35 Error 35 students 25 students ANSWER DOWNLOAD EXAMIANS APP
Basic PHP If you echo a Boolean variable, the value FALSE displays as a .... and the value TRUE echoes as a ..... 0, 1 blank string, 2 empty variable, 1 blank string, 1 0, 1 blank string, 2 empty variable, 1 blank string, 1 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP String values must be enclosed in ...... single quotes double quotes none of above both A and B single quotes double quotes none of above both A and B ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Variables always start with a ........ in PHP Dollar-sign Euro-sign Pond-sign Yen-sign Dollar-sign Euro-sign Pond-sign Yen-sign ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$team = "arsenal";switch ($team) {case "manu":echo "I love man u";case "arsenal":echo "I love arsenal";case "manc":echo "I love manc"; } I love arsenalI love mancI love manu I love arsenalI love manc I love arsenal Error I love arsenalI love mancI love manu I love arsenalI love manc I love arsenal Error ANSWER DOWNLOAD EXAMIANS APP