PHP MCQ Functions in PHP MCQ Question #2424
Single Choice Not Set

QWhat will be the output of the following PHP code?
< ?php 
echo "chr(52)";
?>

ID: #2424 Functions in PHP MCQ 680 views
Question Info
#2424Q ID
Not SetDifficulty
Functions in PHP MCQTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A 1
  • B 2
  • C 3
  • D 4
Correct Answer

Explanation

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

Share This Question

Challenge a friend or share with your study group.