Basic PHP Which of the following is not valid PHP code? &$something $_10 $10_somethings $aVaR ${“MyVar”} &$something $_10 $10_somethings $aVaR ${“MyVar”} ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following must be installed on your computer so as to run PHP script?1. Adobe Dreamweaver2. PHP3. Apache4. IIS 2 and 3 2, 3 and 4 All of the mentioned. Only 2 2 and 3 2, 3 and 4 All of the mentioned. Only 2 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following code?$foo = 'Bob';$bar = &$foo;$bar = "My name is $bar";echo $bar;echo $foo; Error My name is BobBob My name is BobMy name is Bob My name is Bob Bob Error My name is BobBob My name is BobMy name is Bob My name is Bob Bob ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the below namespace declaration is correct? namespace ORA_#; namespace ORA: namespace ORA; namespace 1_RA; namespace ORA_#; namespace ORA: namespace ORA; namespace 1_RA; 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 ); 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 Both are 4 a is 4 and b is 3 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP When a simple data type is casted to an array, an array is created with the original value in the first element. True False True False ANSWER DOWNLOAD EXAMIANS APP