Basic PHP Which of the following php statement/statements will store 111 in variable num?1. int $num = 111;2. int mum = 111;3. $num = 111;4. 111 = $num; Only 3 Only 1 All of the mentioned Both 1 and 2 Only 3 Only 1 All of the mentioned Both 1 and 2 ANSWER DOWNLOAD EXAMIANS APP
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 Which of the following is/are a PHP code editor?1. Notepad2. Notepad++3. Adobe Dreamweaver4. PDT Only 3 1, 2 and 3 All of the mentioned Only 4 Only 3 1, 2 and 3 All of the mentioned Only 4 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$user = array("Ashley", "Bale", "Shrek", "Blank");for ($x=0; $x < count($user); $x++){if ($user[$x] == "Shrek")continue;printf ($user[$x]);} Shrek AshleyBale ShrekBlank AshleyBaleBlank Shrek AshleyBale ShrekBlank AshleyBaleBlank 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 being declared as passed by reference When the function is being declared as a member of a class When the parameter is Boolean Never When the function contains only one parameter 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 Never When the function contains only one parameter ANSWER DOWNLOAD EXAMIANS APP