Basic PHP Which of the below namespace declaration is correct? namespace 1_RA; namespace ORA_#; namespace ORA; namespace ORA: namespace 1_RA; namespace ORA_#; namespace ORA; namespace ORA: 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
Basic PHP What does PHP stand for?1. Personal Home Page2. Hypertext Preprocessor3. Pretext Hypertext Processor4. Preprocessor Home Page Both 2 and 4 Only 2 Both 1 and 3 Both 1 and 2 Both 2 and 4 Only 2 Both 1 and 3 Both 1 and 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 Bob Bob My name is BobMy name is Bob My name is BobBob Error My name is Bob Bob My name is BobMy name is Bob My name is BobBob ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$user = array("Ashley", "Bale", "Shrek", "Blank");for ($x=0; $x < count($user); $x++){if ($user[$x] == "Shrek")continue;printf ($user[$x]);} AshleyBaleBlank Shrek AshleyBale ShrekBlank AshleyBaleBlank Shrek AshleyBale ShrekBlank ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the looping statements is/are supported by PHP?1. for loop2. while loop3. do-while loop4. foreach loop 1 and 2 1, 2 and 3 None of the mentioned All of the mentioned 1 and 2 1, 2 and 3 None of the mentioned All of the mentioned ANSWER DOWNLOAD EXAMIANS APP