Discussion :: PHP - CS
-
What will be the output of the following PHP code?
<?php
echo ord ("hi");
?>
Answer : Option C
Explanation :
The ord() function returns the ASCII value of the first character of a string. The ASCII value of h is 104, thus 104 was displayed.
Be The First To Comment