CryptoPanda
5年前

价值一百亿美金的 AI 项目代码 拿走不谢

https://github.com/samedreams/just-for-fun...
代码放出来了 我放了一个 PHP 实现的 抛砖引玉
欢迎大家提其他语言的 “AI” 实现 PR

file

讨论数量: 5

readline是需要扩展吗?

5年前 评论
Fatal error: Uncaught Error: Call to undefined function readline() in /root/just-for-fun-ai/ai.php:34
Stack trace:
#0 {main}
  thrown in /root/just-for-fun-ai/ai.php on line 34

同@ZeLingNing ,PHP7.2 centos7

5年前 评论

@lovecn 要使用这些函数,你必须在编译 PHP 的 CGI 或者 CLI 版本时启用 readline 支持. 你需要在编译配置 PHP 时使用 --with-readline[=DIR] 选项. 如果你想使用 libedit 来代替 readline , 配置 PHP 时使用 --with-libedit[=DIR] 选项

5年前 评论

@ZeLingNing @lovecn 要使用这些函数,你必须在编译 PHP 的 CGI 或者 CLI 版本时启用 readline 支持. 你需要在编译配置 PHP 时使用 --with-readline[=DIR] 选项. 如果你想使用 libedit 来代替 readline , 配置 PHP 时使用 --with-libedit[=DIR] 选项

5年前 评论

讨论应以学习和精进为目的。请勿发布不友善或者负能量的内容,与人为善,比聪明更重要!
热门动弹
暂无内容~