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 ); a is 4 and b is 3 Both are 4 Both are 3 a is 3 and b is 4 a is 4 and b is 3 Both are 4 Both are 3 a is 3 and b is 4 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP PHP does not support numbers written in hexadecimal, octal or scientific notation. False True False True 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 Only 1 All of the mentioned. 2, 3 and 4 1, 2 and 4 Only 1 All of the mentioned. 2, 3 and 4 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? 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 What is her age? She is $num years old ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following is not valid PHP code? $_10 ${“MyVar”} &$something $10_somethings $aVaR $_10 ${“MyVar”} &$something $10_somethings $aVaR 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