Basic PHP Which of following variables can be assigned a value to it?1. $3hello2. $_hello3. $this4. $This 2 and 4 2, 3 and 4 Only 2 All of the mentioned 2 and 4 2, 3 and 4 Only 2 All of the mentioned 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 3 Both 1 and 2 Only 2 Both 2 and 4 Both 1 and 3 Both 1 and 2 Only 2 Both 2 and 4 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP The value of __NAMESPACE__ is a string that contains the current namespace name. In global, un-namespaced code, it contains . . . . . . NULL an empty string 0 gibberish value NULL an empty string 0 gibberish value ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the conditional statements is/are supported by PHP?1. if statements2. if-else statements3. if-elseif statements4. switch statements 1, 2 and 4 All of the mentioned. Only 1 2, 3 and 4 1, 2 and 4 All of the mentioned. Only 1 2, 3 and 4 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the below statements is equivalent to $add += $add ? $add = $add $add = $add +$add $add = $add + 1 $add = $add + $add + 1 $add = $add $add = $add +$add $add = $add + 1 $add = $add + $add + 1 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$score = 1234;$scoreboard = (array) $score;echo $scoreboard[0]; Error 1 2 1234 Error 1 2 1234 ANSWER DOWNLOAD EXAMIANS APP