Basic PHP PHP does not support numbers written in hexadecimal, octal or scientific notation. True False True False ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$score = 1234;$scoreboard = (array) $score;echo $scoreboard[0]; 1 2 Error 1234 1 2 Error 1234 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 manc I love arsenal I love arsenalI love mancI love manu Error I love arsenalI love manc I love arsenal I love arsenalI love mancI love manu Error 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 3 Both are 4 a is 4 and b is 3 a is 3 and b is 4 Both are 3 Both are 4 a is 4 and b is 3 a is 3 and b is 4 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP strval() None of above Accepts a value and converts it into a string array Accepts a value and converts it into string equivalent Accepts a value and converts it into an string dictionary None of above Accepts a value and converts it into a string array Accepts a value and converts it into string equivalent Accepts a value and converts it into an string dictionary ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following php statement/statements will store 111 in variable num?1. int $num = 111;2. int mum = 111;3. $num = 111;4. 111 = $num; Only 1 All of the mentioned Only 3 Both 1 and 2 Only 1 All of the mentioned Only 3 Both 1 and 2 ANSWER DOWNLOAD EXAMIANS APP