src/classes/CCCli.php
public static function read( $prefix = '' ) 
	{
		if ( !static::is_windows() ) 
		{	
			$line = readline( $prefix ); 
			readline_add_history( $line );
		} 
		else 
		{	
			static::write( $prefix );
			$line = trim( fgets( STDIN ) );
		}
		
		return $line;
	}
public static function read( $prefix = '' ) 
	{
		if ( !static::is_windows() ) 
		{	
			$line = readline( $prefix ); 
			readline_add_history( $line );
		} 
		else 
		{	
			static::write( $prefix );
			$line = trim( fgets( STDIN ) );
		}
		
		return $line;
	}
public static function read ( $ prefix = '' ) { if ( ! static :: is_windows ( ) ) { $ line = readline ( $ prefix ) ; readline_add_history ( $ line ) ; } else { static :: write ( $ prefix ) ; $ line = trim ( fgets ( STDIN ) ) ; } return $ line ; }
Read from comman line
Because windows does not support readline we use normal fgets in that case.

@param string	 		$prefix		The prefix will be printet before the user can respond.
@return string
Read from comman line Because windows does not support readline we use normal fgets in that case .