Basic PHP Under what circumstance is it impossible to assign a default value to a parameter while declaring a function? When the function is being declared as a member of a class When the parameter is Boolean When the function contains only one parameter Never When the parameter is being declared as passed by reference When the function is being declared as a member of a class When the parameter is Boolean When the function contains only one parameter Never When the parameter is being declared as passed by reference ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following is/are a PHP code editor?1. Notepad2. Notepad++3. Adobe Dreamweaver4. PDT All of the mentioned 1, 2 and 3 Only 3 Only 4 All of the mentioned 1, 2 and 3 Only 3 Only 4 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; My name is BobBob Error My name is BobMy name is Bob My name is Bob Bob My name is BobBob Error My name is BobMy name is Bob My name is Bob Bob 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 Both 1 and 3 Only 2 Both 1 and 2 Both 2 and 4 Both 1 and 3 Only 2 Both 1 and 2 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 Which statement will output $x on the screen? echo “$x;”; echo “\$x”; echo “/$x”; echo “$$x”; echo “$x;”; echo “\$x”; echo “/$x”; echo “$$x”; ANSWER DOWNLOAD EXAMIANS APP