The ord() function in PHP returns the ASCII value of a single character. For example, ord('A') returns 65. Option A, chr(), does the opposite - converts an ASCII value to a character. Option B, asc(), is not a PHP function (it exists in some other languages). Option D, val() is not a standard PHP function for ASCII conversion. The function name 'ord' relates to 'ordinal' value in character encoding systems.