The readline functions implement an interface to the GNU Readline library. These are functions that provide editable command lines. An example being the way Bash allows you to use the arrow keys to insert characters or scroll through command history. Because of the interactive nature of this library, it will be of little use for writing Web applications, but may be useful when writing scripts used from a command line.

Замечание: Для Windows-платформ это расширение недоступно.


We need this extension to run the interactive mode for the PHP CLI. So since this extension says it isn't available for windows it stops us from running the CLI interactively.

I don't know what it takes to get this extension running in a windows machine, but I found Readline for Windows here: http://gnuwin32.sourceforge.net/packages/readline.htm

I'm going to try; it's probably not going to be as simple as compiling the extension and having the library, from the above mentioned website, available, is it?

I don't know how to write extensions for PHP, so if that doesn't work then I'm out of luck.
2011-08-08 03:09:49

    Поддержать сайт на родительском проекте КГБ