Q31
What will be the output of the following PHP code ?
A.
hellolength
B.
5
AnswerC.
hi
D.
error
Answer: Option B
Solution
Answer: Option B
Solution:
The function strlen($a) gives the length of the string,5, which is considered true.