Python has a neat feature for interactively debugging - it's called IDLE. It's like a console that you can type commands to that it runs in the background.
This is really useful when running regular expressions on strings, breaking shell command responses up and so forth.
Does PHP have anything like this? I've seen the:
php -r 'echo foo;'
... command, but that's not really interactive.
-Antun