Is it possible to get input from a user using PHP CLI, then dump the input into a variable and then the script goes ahead. Just like the C++ cin function.
Is that possible and, if yes, then how?
Maybe not only PHP but maybe with some Linux commands?
Have a look at this PHP manual page
http://php.net/manual/en/features.commandline.php
in particular