Q27
What will be the output of the following PHP code?
A.
106
B.
103
C.
104
AnswerD.
209
Answer: Option C
Solution
Answer: Option C
Solution:
The ord() function returns the ASCII value of the first character of a string. The ASCII value of h is 104, thus 104 was displayed.