0

I recently asked this question about a PHP interactive shell, similar to python's. after viewing this page it looks like what I need to do is compile PHP with the --with-readline option. The problem is, on Windows, I don't know how to do that. Can anyone help me?

Community
  • 1
  • 1
ewok
  • 20,148
  • 51
  • 149
  • 254
  • May be helpful link for You http://stackoverflow.com/questions/4117447/php-in-command-line – Harsh Dec 13 '11 at 15:41

2 Answers2

3

The readline library is not available on Windows.

macjohn
  • 1,755
  • 14
  • 18
  • 1
    This is true, although there are some "workarounds" that might help you. See the comments at http://php.net/manual/en/function.readline.php – Oldskool Dec 13 '11 at 15:26
0

As of PHP 7.1, ext/readline is supported on Windows and is delivered with the official builds. See UPGRADING for details.

Thanks.

Anatol Belski
  • 660
  • 6
  • 8