<?php echo "Enter a character:"; $char = trim(fgets(STDIN)); $ord = ord($char); echo $ord; ?>
You have javascript disabled. You will not be able to edit any code.