Lakshya Education MCQs

Question: What will be the output of the following PHP code ?
Options:
A.hihihi
B.hihellohihellohihello
C.hellohellohello
D.hi
Answer: Option D

Submit Answer & Explaination

Earn Reward Points by submitting Detailed Explaination for this Question

More Questions on This Topic :

Question 1. What will be the output of the following PHP code ?
  1.    24
  2.    134
  3.    1234
  4.    1
Answer: Option A
Question 2. What will be the output of the following PHP code ?
Answer: Option A
Question 3. What will be the output of the following PHP code ?
  1.    10
  2.    infinite loop
  3.    no output
  4.    error
Answer: Option B
Question 4. What will be the output of the following PHP code ?
  1.    hihihi
  2.    hihellohihellohihello
  3.    hellohellohello
  4.    hi
Answer: Option A
Question 5. What will be the output of the following PHP code ?
  1.    ArrayArrayArrayArrayArrayArray….infinitely
  2.    (“hi”,”hello”,”bye”)(“hi”,”hello”,”bye”)(“hi”,”hello”,”bye”)(“hi”,”hello”,”bye”)…infinitely
  3.    hihellobyehihellobyehihellobyehihellobyehihellobyehihellobye…..infinitely
  4.    no output
Answer: Option A
Question 6. What will be the output of the following PHP code ?
  1.    iiiii
  2.    infinite loop
  3.    iiiiiiiiiiiiiiiiiiiiiiiii
  4.    no output
Answer: Option A

Check all Questions in this Topic : Click HERE