When you need to obtain the ASCII value of a character which of the following function you apply in PHP ?Select one:a.chr()b.asc()c.ord()d.val()
Question
When you need to obtain the ASCII value of a character which of the following function you apply in PHP ?Select one:a.chr()b.asc()c.ord()d.val()
Solution
To obtain the ASCII value of a character in PHP, you would use the function "c.ord()".
Similar Questions
Find ASCII value of a character
What will be the output of the following code?<?phpecho ord ("Hello World");?>0.5 Marks103209106104
Which of the following is used to accept a character from a file?Select one:getcharprintf();None of theseputstring
Which function is used to retrieve the character ASCII value?Answer choicesSelect only one optionREVISITCHARROUNDLENFLOOR
What will be the output of the following code?<?phpecho ord ("Hello World");?>0.5 Marks
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.