public static function prompt()
    {
        $stdin = fopen('php://stdin', 'r');
        $answer = self::trimAnswer(fgets($stdin, 4096));
        fclose($stdin);

        return $answer;
    }
public static function prompt()
    {
        $stdin = fopen('php://stdin', 'r');
        $answer = self::trimAnswer(fgets($stdin, 4096));
        fclose($stdin);

        return $answer;
    }
public static function prompt ( ) { $ stdin = fopen ( 'php://stdin' , 'r' ) ; $ answer = self :: trimAnswer ( fgets ( $ stdin , 4096 ) ) ; fclose ( $ stdin ) ; return $ answer ; }
Prompts the user for input and shows what they type

@return string
Prompts the user for input and shows what they type