Category Archives: PHP

Hiding input from console in PHP

Unfortunately, PHP does not come with built-in way to control a console or a terminal. Many PHP CLI applications suffer from this as they often require users to enter sensitive data which should not be visible as they type it. The most obvious example is entering a password – imagine doing a presentation and having […]