Basic PHP Under what circumstance is it impossible to assign a default value to a parameter while declaring a function? When the function contains only one parameter When the function is being declared as a member of a class When the parameter is being declared as passed by reference When the parameter is Boolean Never When the function contains only one parameter When the function is being declared as a member of a class When the parameter is being declared as passed by reference When the parameter is Boolean Never 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 Bob Bob My name is BobMy name is Bob Error My name is BobBob My name is Bob Bob My name is BobMy name is Bob 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. False True False True ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Some PHP code might not have a namespace and therefore lives in the . . . . . . namespace. Global Automatic Default PRE Global Automatic Default PRE ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What does PHP stand for?1. Personal Home Page2. Hypertext Preprocessor3. Pretext Hypertext Processor4. Preprocessor Home Page Both 1 and 3 Both 1 and 2 Only 2 Both 2 and 4 Both 1 and 3 Both 1 and 2 Only 2 Both 2 and 4 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the below statements is equivalent to $add += $add ? $add = $add +$add $add = $add + 1 $add = $add + $add + 1 $add = $add $add = $add +$add $add = $add + 1 $add = $add + $add + 1 $add = $add ANSWER DOWNLOAD EXAMIANS APP