Basic PHP What will be the output of the following PHP code?$total = "25 students";$more = 10;$total = $total + $more;echo "$total"; 25 students 35 35 students Error 25 students 35 35 students Error ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which version of PHP introduced Try/catch Exception? PHP 5.3 PHP 4 PHP 5 PHP 6 PHP 5.3 PHP 4 PHP 5 PHP 6 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following is not valid PHP code? &$something $_10 $aVaR $10_somethings ${“MyVar”} &$something $_10 $aVaR $10_somethings ${“MyVar”} ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Assigning the empty string (like ' ') to a variable automatically renders it empty. True False True False 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 a is 4 and b is 3 Both are 3 Both are 4 a is 3 and b is 4 a is 4 and b is 3 Both are 3 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Multiple namespaces cannot be defined in the same file. FALSE TRUE FALSE TRUE ANSWER DOWNLOAD EXAMIANS APP