I would like to run PHP in a command-line-interface and I would like to get output after every line I write.
I have php.exe in my PATH environment variable. I use php -r "echo 'Hello world'" or
php -a
Interactive mode enabled
<?php
echo "hello world"
?>
^Z
But I want a real php shell, which reacts after every command. I have used something similar in Python. Is this possible in PHP? You can recommend a program that has this feature.