+1 vote
in PHP by
Which of the following function is used to get the ASCII value of a character in PHP?

a) val()

b) asc()

c) ascii()

d) chr()

1 Answer

0 votes
by

d) chr()

Description: The PHP chr() function is used to generate a single byte string from a number. In other words, we can say that it returns a character from a specified ASCII value.

Related questions

+1 vote
asked May 13, 2022 in PHP by john ganales
+1 vote
asked May 11, 2022 in PHP by sharadyadav1986
...