Basic PHP Which of following variables can be assigned a value to it?1. $3hello2. $_hello3. $this4. $This 2 and 4 All of the mentioned Only 2 2, 3 and 4 2 and 4 All of the mentioned Only 2 2, 3 and 4 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Some PHP code might not have a namespace and therefore lives in the . . . . . . namespace. Automatic Default Global PRE Automatic Default Global PRE 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 Both are 3 a is 4 and b is 3 Both are 4 a is 3 and b is 4 Both are 3 a is 4 and b is 3 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP The value of __NAMESPACE__ is a string that contains the current namespace name. In global, un-namespaced code, it contains . . . . . . NULL gibberish value 0 an empty string NULL gibberish value 0 an empty string ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following is not valid PHP code? $_10 $aVaR &$something $10_somethings ${“MyVar”} $_10 $aVaR &$something $10_somethings ${“MyVar”} ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following php code?$num = "1";$num1 = "2";print $num+$num1; Error 3 12 1+2 Error 3 12 1+2 ANSWER DOWNLOAD EXAMIANS APP