A captcha in console? Possible with figlets

Code
<?php

use Zend\Captcha\Figlet;
use 
Zend\Debug\Debug;

$captcha = new Figlet(['wordLen' => 3]);

// generates captcha token and stores it in Session
$captcha->generate();
$captchaStr $captcha->getFiglet()
    ->
render($captcha->getWord());

echo 
'<pre>' $captchaStr '</pre>';

// two possible user inputs.
// id = generated session id
// input = user input
$wrongInput = [
    
'id' => 1,
    
'input' => 'asdf',
];
$rightInput = [
    
'id' => $captcha->getId(),
    
'input' => $captcha->getWord(),
];

// validate user input
Debug::dump($captcha->isValid($wrongInput));
Debug::dump($captcha->isValid($rightInput));
Result
           _    _     _____   
    ___   | || | ||  |__  //  
   /   || | || | ||    / //   
  | [] || | \\_/ ||   / //__  
   \__ ||  \____//   /_____|| 
    -|_||   `---`    `-----`  
     `-`                      
bool(false)
bool(true)
Used Versions
PHP 7.1, Zend 3.0, Symfony 3.2, Laravel 5.2, PHPUnit 5.6, Doctrine 2.6