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?
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.