Is there a command line php shell available for windows? I looking for something similar to the python shell, that will allow me to open and immediately begin executing code.>
Try this:
0 or substr($cmd, -1) !== ';') continue; eval($cmd); $cmd = ''; }
Save this code to a file (eg shell.php) and then run it from console:
php shell.php
Hit CTRL+C to exit.