我最近问过this question关于PHP交互式shell,类似于python的。在查看this page后,看起来我需要做的是使用--with-readline选项编译PHP。问题是,在Windows上,我不知道该怎么做。谁能帮我?
readline库在Windows上不可用。
从PHP 7.1开始,Windows支持ext / readline,并随官方版本一起提供。有关详细信息,请参阅UPGRADING。
谢谢。