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 parameter is Boolean Never When the function is being declared as a member of a class When the parameter is being declared as passed by reference When the function contains only one parameter When the parameter is Boolean Never When the function is being declared as a member of a class When the parameter is being declared as passed by reference ANSWER DOWNLOAD EXAMIANS APP
Basic PHP We can use _________ to comment a single line?1. /?2. //3. #4. /* */ 1, 3 and 4 Both 2 and 4 Only 2 2, 3 and 4 1, 3 and 4 Both 2 and 4 Only 2 2, 3 and 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; Error My name is Bob Bob My name is BobBob My name is BobMy name is Bob Error My name is Bob Bob My name is BobBob My name is BobMy name is Bob ANSWER DOWNLOAD EXAMIANS APP
Basic PHP PHP files have a default file extension of_______. .ph .xml .html .php .ph .xml .html .php ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following code?function track() {static $count = 0;$count++;echo $count;}track();track();track(); 011 111 123 000 011 111 123 000 ANSWER DOWNLOAD EXAMIANS APP