Vidyalelo
PHP · Q26

Functions

Programming · PHP · question 26

Q26

What will be the output of the following PHP code?

A.
1
B.
2
C.
3
D.
4
Answer

Answer: Option D

Solution

Answer: Option D
Solution:
The chr() function returns a character from the specified ASCII value. Since the ASCII value of 4 is 52, thus 4 was displayed.