Hi, Did it just print out back the stuff you typed in? When working with -a don't forget to add the opening '<?php' tag, just like you would in a regular script. BTW on *nix if you build PHP with gettext support there's real interactive mode support (a command prompt, history, completion, and no need to type the '<?php' stuff) but I'm not sure if that is available on Windows. Shahar. On 27/12/09 17:05 PM, Libor wrote: > Hi all, > I don't know if I am stupid or what but I can't find out how to send > typed code to execute. > > > php.exe -a > Interactive mode enabled > > Pressing <Enter> or <Ctrl-D> didn't execute code. Please, help me! > > (I am running PHP 5.3.0 on Win XP.) > > Thanks > Libor > -- Shahar Evron <shahar.e@xxxxxxxx> Product Manager Zend Technologies