Basic PHP What will be the output of the following php code?$num = "1";$num1 = "2";print $num+$num1; 12 Error 3 1+2 12 Error 3 1+2 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Under what circumstance is it impossible to assign a default value to a parameter while declaring a function? When the parameter is Boolean 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 Never When the parameter is Boolean 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 Never ANSWER DOWNLOAD EXAMIANS APP
Basic PHP With the introduction of namespaces, the same function name can be used in multiple places. FALSE TRUE FALSE TRUE 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 arsenal I love arsenalI love mancI love manu I love arsenalI love manc Error I love arsenal I love arsenalI love mancI love manu I love arsenalI love manc Error 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(); 111 000 011 123 111 000 011 123 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