Interactive shell using PHP

后端 未结 8 990
醉话见心
醉话见心 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:39

    It is not entirely clear from the question whether you want to CREATE the shell using PHP alone, or whether you want the interactive shell to process PHP commands. I'm going to assume the latter, and in that case one example is phpsh which was apparently created at Facebook, but is written in python.

提交回复
热议问题