Why does PHP 7.4 on Windows aborts all command line actions that require user input?
This is a bug with PHP 7.4.0 for Windows.
The bug has been registered here, and has been fixed in the 7.4.1 version, released yesterday December 18th.
Just download the latest PHP version, and you'll be fine.