title: PHP: How to use STDIN to get secret input for passwords on Linux based systems
body: <p>What is the most up-to-date way to get input from STDIN but not see what was typed in PHP CLI mode, so things like passwords are not shown?</p>
  <p>Difference being, only on Linux based systems like Ubuntu, most other answers seem to be based on Windows support, it is not clear which is the best way for Linux?</p>