I\'m running php interactively from xampp (5.4.7) on my Win 7 machine and cannot get any output from the window. I searched around various solutions and nothing so far has
Interactive mode is not the same as Interactive shell. The later accepts commands like in cmd or a shell found in linux. The first one reads in the whole script and then returns with the output. If you would hit CTRL-Z at the end of the snippet it should return the output.
Check here: http://php.net/manual/en/features.commandline.interactive.php for more information (especially the first comment).