Press Any Key To Exit in CLI

Is there a way to create a “Press Any Key To Exit” in PHP? So it only takes 1 input in STDIN (and the user doesn’t have to press "Enter) and then ends the script.

A discussion here:
http://board.phpbuilder.com/showthread.php?10305215-RESOLVED-CLI-create-a-quot-Press-any-key-to-continue-quot-prompt