title: Laravel Command->choice looping
body: <p>Using Laravel 5.2 (currently the latest release) is looping when using the artisan function choice(). My code is basic:</p>
  
  <pre><code>&lt;?php
  
  namespace App\Console\Commands;
  
  use Illuminate\Console\Command;
  
  class TestCommand extends Command
  {
      protected $signature = 'function:menu';
  
      public function handle() {
          $this-&gt;choice('select yes', ['yes']);
      }
  }
  </code></pre>
  
  <p>When I run</p>
  
  <pre><code>php artisan function:menu
  </code></pre>
  
  <p>I get</p>
  
  <pre><code>select yes:
    [0] yes
   &gt;
  
  
   [ERROR] Undefined variable: output
  
  select yes:
    [0] yes
   &gt;
  
  
   [ERROR] Undefined variable: output
  </code></pre>
  
  <p>It loops through that non-stop without waiting for input. It works fine on Windows 7 and Debian GNU/Linux 8 (jessie), but a fresh install of laravel on CentOS release 6.7 (Final) does this. Does anyone know why?</p>