Basic PHP Which of the conditional statements is/are supported by PHP?1. if statements2. if-else statements3. if-elseif statements4. switch statements 2, 3 and 4 1, 2 and 4 All of the mentioned. Only 1 2, 3 and 4 1, 2 and 4 All of the mentioned. Only 1 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What does PHP stand for?1. Personal Home Page2. Hypertext Preprocessor3. Pretext Hypertext Processor4. Preprocessor Home Page Both 1 and 2 Both 1 and 3 Both 2 and 4 Only 2 Both 1 and 2 Both 1 and 3 Both 2 and 4 Only 2 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 PHP considers the following values as False both A and B the integer 0 the one-character string 0 constant NULL All of Above both A and B the integer 0 the one-character string 0 constant NULL All of Above ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the below statements is equivalent to $add += $add ? $add = $add + 1 $add = $add $add = $add +$add $add = $add + $add + 1 $add = $add + 1 $add = $add $add = $add +$add $add = $add + $add + 1 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$color = "maroon";$var = $color[2];echo "$var"; $var a Error r $var a Error r ANSWER DOWNLOAD EXAMIANS APP