Basic PHP String values must be enclosed in ...... double quotes single quotes none of above both A and B double quotes single quotes none of above both A and B ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following php code?$num = 1;$num1 = 2;print $num . "+". $num1; 3 Error 1+2 1.+.2 3 Error 1+2 1.+.2 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 Error 12 3 1+2 Error 12 3 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of following variables can be assigned a value to it?1. $3hello2. $_hello3. $this4. $This 2 and 4 All of the mentioned Only 2 2, 3 and 4 2 and 4 All of the mentioned Only 2 2, 3 and 4 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP All classes in the same namespace or subnamespace don’t have to the declared in the same PHP file. TRUE FALSE TRUE FALSE 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 ShrekBlank AshleyBale AshleyBaleBlank Shrek ShrekBlank AshleyBale AshleyBaleBlank ANSWER DOWNLOAD EXAMIANS APP