Interactive shell using PHP

后端 未结 8 986
醉话见心
醉话见心 2020-11-29 09:20

Just wondering, is it possible to create an interactive shell, using PHP alone. I mean something like you have with databases, python, etc.

If it is, how?

8条回答
  •  星月不相逢
    2020-11-29 09:34

    I know the questioner didn't want the second option, but for those that wanted the second option as I did, in addition to phpsh, PHP also has it's own shell:

    Just run php -a.

提交回复
热议问题