Basic PHP Which of the conditional statements is/are supported by PHP?1. if statements2. if-else statements3. if-elseif statements4. switch statements Only 1 All of the mentioned. 2, 3 and 4 1, 2 and 4 Only 1 All of the mentioned. 2, 3 and 4 1, 2 and 4 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following is not valid PHP code? ${“MyVar”} $10_somethings &$something $_10 $aVaR ${“MyVar”} $10_somethings &$something $_10 $aVaR ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following PHP statements will output Hello World on the screen?1. echo (“Hello World”);2. print (“Hello World”);3. printf (“Hello World”);4. sprintf (“Hello World”); All of the mentioned 1, 2 and 4 1 and 2 1, 2 and 3 All of the mentioned 1, 2 and 4 1 and 2 1, 2 and 3 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the below statements is equivalent to $add += $add ? $add = $add + $add + 1 $add = $add +$add $add = $add $add = $add + 1 $add = $add + $add + 1 $add = $add +$add $add = $add $add = $add + 1 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP PHP ..... demand that you declare a data type when you create a variable. does does not does does not ANSWER DOWNLOAD EXAMIANS APP
Basic PHP As the namespace size grows, using namespaces can become a little repetitious, but PHP also provides the . . . . . statement, which allows you to alias a specific namespace. grant use php label grant use php label ANSWER DOWNLOAD EXAMIANS APP