Basic PHP Which of the following is/are a PHP code editor?1. Notepad2. Notepad++3. Adobe Dreamweaver4. PDT 1, 2 and 3 Only 4 All of the mentioned Only 3 1, 2 and 3 Only 4 All of the mentioned Only 3 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Assigning the empty string (like ' ') to a variable automatically renders it empty. False True False True ANSWER DOWNLOAD EXAMIANS APP
Basic PHP String values must be enclosed in ...... double quotes single quotes both A and B none of above double quotes single quotes both A and B none of above 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]);} ShrekBlank Shrek AshleyBaleBlank AshleyBale ShrekBlank Shrek AshleyBaleBlank AshleyBale ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following php code?$num = "1";$num1 = "2";print $num+$num1; 12 3 1+2 Error 12 3 1+2 Error ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following php code?$num = 1;$num1 = 2;print $num . "+". $num1; 1+2 3 Error 1.+.2 1+2 3 Error 1.+.2 ANSWER DOWNLOAD EXAMIANS APP