Basic PHP What will be the output of the following PHP code?$score = 1234;$scoreboard = (array) $score;echo $scoreboard[0]; 1234 2 1 Error 1234 2 1 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 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 Both are 3 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Variables always start with a ........ in PHP Yen-sign Pond-sign Dollar-sign Euro-sign Yen-sign Pond-sign Dollar-sign Euro-sign 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(); 011 111 123 000 011 111 123 000 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. 2, 3 and 4 Only 1 1, 2 and 4 All of the mentioned. 2, 3 and 4 Only 1 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP It is possible to create a hierarchy of namespaces in PHP. FALSE TRUE FALSE TRUE ANSWER DOWNLOAD EXAMIANS APP