Re: PHP console (php.exe -a)

From: Date: Sun, 27 Dec 2009 15:44:25 +0000
Subject: Re: PHP console (php.exe -a)
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-29772@lists.php.net to get a copy of this message
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@zend.com> Product Manager Zend Technologies

« previous php.windows (#29772) next »