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 function contains only one parameter When the parameter is being declared as passed by reference Never When the parameter is Boolean When the function is being declared as a member of a class When the function contains only one parameter When the parameter is being declared as passed by reference Never When the parameter is Boolean ANSWER DOWNLOAD EXAMIANS APP
Basic PHP With the introduction of namespaces, the same function name can be used in multiple places. TRUE FALSE TRUE FALSE ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following is/are a PHP code editor?1. Notepad2. Notepad++3. Adobe Dreamweaver4. PDT Only 4 All of the mentioned Only 3 1, 2 and 3 Only 4 All of the mentioned Only 3 1, 2 and 3 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP We can use _________ to comment a single line?1. /?2. //3. #4. /* */ Both 2 and 4 1, 3 and 4 Only 2 2, 3 and 4 Both 2 and 4 1, 3 and 4 Only 2 2, 3 and 4 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the below statements is equivalent to $add += $add ? $add = $add + $add + 1 $add = $add +$add $add = $add + 1 $add = $add $add = $add + $add + 1 $add = $add +$add $add = $add + 1 $add = $add ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$team = "arsenal";switch ($team) {case "manu":echo "I love man u";case "arsenal":echo "I love arsenal";case "manc":echo "I love manc"; } I love arsenalI love manc I love arsenalI love mancI love manu Error I love arsenal I love arsenalI love manc I love arsenalI love mancI love manu Error I love arsenal ANSWER DOWNLOAD EXAMIANS APP