CryptoPanda
6年前
价值一百亿美金的 AI 项目代码 拿走不谢
https://github.com/samedreams/just-for-fun...。
代码放出来了 我放了一个 PHP 实现的 抛砖引玉
欢迎大家提其他语言的 “AI” 实现 PR
readline 是需要扩展吗?
@ZeLingNing 手册 http://php.net/manual/zh/readline.installa...
同 @ZeLingNing ,PHP7.2 centos7
@lovecn 要使用这些函数,你必须在编译 PHP 的 CGI 或者 CLI 版本时启用 readline 支持。你需要在编译配置 PHP 时使用 --with-readline [=DIR] 选项。如果你想使用 libedit 来代替 readline , 配置 PHP 时使用 --with-libedit [=DIR] 选项
@ZeLingNing @lovecn 要使用这些函数,你必须在编译 PHP 的 CGI 或者 CLI 版本时启用 readline 支持。你需要在编译配置 PHP 时使用 --with-readline [=DIR] 选项。如果你想使用 libedit 来代替 readline , 配置 PHP 时使用 --with-libedit [=DIR] 选项