PHP Control Structures (Loop) What will be the output of the following PHP code ?$a = 1;if (print $a)print "True";elseprint "False"; no output false true error no output false true error ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?for(++$i; ++$i; ++$i) {print $i;if ($i == 4)break;} 24 1234 134 1 24 1234 134 1 ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$a = "1";$b = "0";if ((int)$a && $b)print"hi";elseprint "hello"; hello hi no output error hello hi no output error ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?if (!print "hi")if (print "hello")print "hi"; hihi hihellohi no output hi hihi hihellohi no output hi ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?do {print "hi";}while(0);print "hello"; hello error hihello infinite loop hello error hihello infinite loop ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$a = "1";$a = 1;$b = 1;switch($a) {case $a * $b:print "hi";break;case $a / $b:print "hello";break;default:print "hi1";} hi1 hi hihellohi1 hihello hi1 hi hihellohi1 hihello ANSWER DOWNLOAD EXAMIANS APP