?
What will be the output of the following PHP code?
What will be the output of the following PHP code?
<?php
echo "chr(52)";
?>
<?php
echo "chr(52)";
?>
Answer & Solution
Correct Answer:
Option
D
The chr() function returns a character from the specified ASCII value. Since the ASCII value of 4 is 52, thus 4 was displayed.
Join the Discussion
Login to post a comment or share your explanation.
Login