需求
如果要使用 readline 函数,你必须安装 libreadline. 你能在 GNU readline 项目主页找到 libreadline. 地址» http://cnswww.cns.cwru.edu/~chet/readline/rltop.html . 它被 Chet Ramey 维护, 他也是 Bash 的作者
你也能使用非 GPL 的 libedit 库来替代 readline 库, libedit 库是使用 BSD 证书,你可以从» http://www.thrysoee.dk/editline/下载.

User Contributed Notes 1 note
备份地址:http://www.lvesu.com/blog/php/readline.requirements.php