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 Never When the parameter is Boolean When the parameter is being declared as passed by reference When the function is being declared as a member of a class When the function contains only one parameter Never When the parameter is Boolean When the parameter is being declared as passed by reference 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 If $a = 12 what will be returned when ($a == 12) ? 5 : 1 is executed? 1 12 Error 5 1 12 Error 5 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP It is possible to create a hierarchy of namespaces in PHP. TRUE FALSE TRUE FALSE ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$total = "25 students";$more = 10;$total = $total + $more;echo "$total"; 35 25 students 35 students Error 35 25 students 35 students Error ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following is not valid PHP code? ${“MyVar”} $10_somethings $aVaR &$something $_10 ${“MyVar”} $10_somethings $aVaR &$something $_10 ANSWER DOWNLOAD EXAMIANS APP